Testing GeoServer 2.2.5 on a windows box (running Tomcat 7.0.37 and noticing an unexpected warning:
INFO: Deploying web application archive C:\java\tomcat\webapps\geoserver.war
04/03/2013 11:58:12 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\java\tomcat\webapps\geoserver\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
log4j:WARN File option not set for appender [geoserverlogfile].
Now it could be this is just normal, Tomcat probably provides an implementation of servlet-api already.
Testing GeoServer 2.2.5 on a windows box (running Tomcat 7.0.37 and noticing an unexpected warning:
INFO: Deploying web application archive C:\java\tomcat\webapps\geoserver.war
04/03/2013 11:58:12 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\java\tomcat\webapps\geoserver\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
log4j:WARN File option not set for appender [geoserverlogfile].
Now it could be this is just normal, Tomcat probably provides an implementation of servlet-api already.
We should just modify the poms not to include the servlet-api. jar in the .war file, that jar
is supposed to be provided by the container anyways.
I believe marking it as “provided” should do the trick.