Hi,

there seems to be a problem with tobago on tomcat 5.5. When deploying my webapp I see an INFO message in the log files:

00:15:18,947 INFO [WebappClassLoader] validateJarFile(/home/stefan/as/jboss-4.0.2/server/app/./tmp/deploy/tmp54238app.war/WEB-INF/lib/servletapi-2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

It seems that the pom is not correct, you should use <scope>provided</scope> in the dependency entry for the servlet api. Maybe maven(2) changed it's scope values in one of the maven2 betas?

Anyone who needs to package the servletapi with his war file should do so explicitly in his pom.

BTW: I'm not sure which of the tobago dependencies should use the provided scope instead of compile.

Regards,

Stefan Hedtfeld.

Reply via email to