When a web application is deployed, for some reason the deployment process looks at the
Libraries in the “Java Build Path” list, rather than the libraries in WEB-INF/lib.
This is problem for portlets since there can only be one instance of the portlet-api.jar
in the whole web container (tomcat in this case). Since I need jar file to compile
my source I keep it outside the WEB-INF/lib and manually add it to the compile class
path. However, when deployment happens for whatever reason, the portlet-api.jar is copied
over and now I have two instances of it in tomcat. So when I fire up tomcat the portlet fails
because of the second copy.
George