On 1/5/06, Thibaut <[EMAIL PROTECTED]> wrote: > When I load my struts application with tomcat I have this information : > " > 5 janv. 2006 17:57:25 org.apache.catalina.loader.WebappClassLoader > validateJarFile > INFO: > validateJarFile(/home/toto/workspace/cvdunetV51/WEB-INF/lib/servlet.jar) > - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: > javax/servlet/Servlet.class > " > > What does it mean ?
You've included servlet.jar in your web application. Tomcat is refusing to load the classes and telling you where in the specification to find more information. The container provides the Servlet and JSP api and implementation to your webapp, you should not include it in WEB-INF/lib. (Any chance you're building with Maven 2? If so, you're probably picking up a transitive dependency from a project that didn't tag the Servlet api as having 'provided' scope. Use -X on the command line to track it down.) -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]