-
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?
-
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.
-
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.