Offending class: javax/servlet/Servlet.class

julsoft's Avatar

julsoft

Dec 30, 2012 @ 03:48 PM

Hello,

I have deployed the war to my Apache Tomcat/7.0.23. And receive:

INFO: Deploying web application directory /Volumes/Sources/tomcat7/webapps/jbilling
Dec 30, 2012 4:20:40 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/Volumes/Sources/tomcat7/webapps/jbilling/WEB-INF/lib/geronimo-servlet_2.5_spec-1.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 30, 2012 4:20:40 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/Volumes/Sources/tomcat7/webapps/jbilling/WEB-INF/lib/servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 30, 2012 4:20:40 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/Volumes/Sources/tomcat7/webapps/jbilling/WEB-INF/lib/tomcat-core.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 30, 2012 4:21:03 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart

Thanks.

  1. Support Staff 1 Posted by Technical Suppo... on Feb 08, 2013 @ 06:06 PM

    Technical Support's Avatar

    Hello,

    This seems to be a problem with the dependencies when using the servlet. The Servlet specs say you are not allowed to have servlet.jar in your webapps lib directory. If you want to get rid of the warning simply remove servlet.jar (servlet-api.jar) from webapps\jbilling\WEB-INF\lib.

    Keep in mind that these are just messages saying that the jars will be ignored because they are being used from somewhere else.

    Please let us know if you have any other question.
    Regards,

    jBilling Technical Support Team

  2. 2 Posted by sethu on Mar 06, 2014 @ 12:49 PM

    sethu's Avatar

    Can we just destroy all the computers and live a happy life. . .

  3. 3 Posted by faariz on Oct 31, 2014 @ 01:17 PM

    faariz's Avatar

    No Just burn all the money. Then we can live a peaceful and good life

  4. Support Staff 4 Posted by Technical Suppo... on Jan 08, 2015 @ 09:52 AM

    Technical Support's Avatar

    Hello julsoft,

    Please let us know if need further information.

    Thank you,
    Technical Support Team.

  5. Technical Support closed this discussion on Jan 08, 2015 @ 09:52 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac