HughP / simal

Automatically exported from code.google.com/p/simal
0 stars 0 forks source link

Servlet API shouldn't ship within the war file #350

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is jus an cosmetic issue, since Tomcat defends itself from it (see the log 
fragment).

The Servlet API shouldn't bundled with the war file, just set the scope to 
provided in pom.xml.

Sep 16, 2010 9:03:56 PM org.apache.catalina.loader.WebappClassLoader 
validateJarFile
INFO: 
validateJarFile(/srv/www/tomcat55/base/webapps/simal/WEB-INF/lib/servlet-api-2.5
-20081211.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending 
class: javax/
servlet/Servlet.class

Original issue reported on code.google.com by cmah...@googlemail.com on 17 Sep 2010 at 10:58

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. Sorry it has taken me so long to respond.

You are right. We need to remove it from the build and it's trivial to do so 
for the next release.

Original comment by ross.gardler on 10 Dec 2010 at 2:24