Results 1 to 3 of 3
  1. #1
    Jack is offline Senior Member
    Join Date
    Jun 2007
    Posts
    130
    Rep Power
    0

    Default Tomcat exception

    I have a problem with tomcat, when I start the server this error appears:

    validateJarFile(C:\Aplication\.metadata\.plugins\o rg.eclipse.wst.server.core\tmp0\webapps\TTMenu\WEB-INF\lib\j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

    what is happening?

  2. #2
    bbq
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Posts
    132
    Rep Power
    0

    Default

    I think the problem is that you have servlet-api.jar in the
    lib directory of your webapp - this jar is already loaded
    for each webapp by Tomcat, it is in the common/lib
    directory. So remove this jar from the WEB-INF/lib
    directory of all your webapps.

  3. #3
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Posts
    119
    Rep Power
    0

    Default

    Remove the servlet-api.jar from your web apps. This jar is provided by
    Tomcat already. You might need it to build your app, but don't deploy it.

Similar Threads

  1. Replies: 1
    Last Post: 03-08-2008, 06:41 PM
  2. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 10:33 AM
  3. tomcat xml
    By Ed in forum XML
    Replies: 2
    Last Post: 07-04-2007, 05:39 AM
  4. Problems with Tomcat 5.5.16
    By Felissa in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 07-03-2007, 05:45 PM
  5. tomcat exception-error
    By Nick15 in forum Eclipse
    Replies: 2
    Last Post: 05-11-2007, 01:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •