On Apr 29, 2010, at 3:00 PM, Minh wrote:

I saw minor error when Tomcat start up, but not sure it relates to the
error...if so, how can I fix this?

Apr 29, 2010 2:41:57 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(C:\apache-tomcat-6.0.20\webapps\recharge_report\WEB- INF\lib\javaee-api-5.0-2.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7
.2. Offending class: javax/servlet/Servlet.class
context path = /recharge_report

It might relate. Certainly, including another copy of the Java EE libraries in your webapp is not allowed as the error message says. So you should remove the javaee-api-5.0-2.jar from your webapp. If by chance you put any OpenEJB libraries in your webapp as well, that wouldn't work either.

Follow the four steps on this page if you haven't already:

  http://openejb.apache.org/tomcat.html

Once that is done you can develop webapps as you would in a standard Java EE server.

-David

Reply via email to