I'm trying to get Spring Boot + WAR working in our test environment. The test environment has Tomcat 7 installed and when deploying I get the following errors:
Aug 05, 2016 2:33:19 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/lib/tomcat7/webapps/prt/WEB-INF/lib/tomcat-embed-core-8.0.33.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
Aug 05, 2016 2:33:19 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/lib/tomcat7/webapps/prt/WEB-INF/lib/tomcat-embed-el-8.0.33.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
Now the weird thing is that this same WAR is working on my local Tomcat 8. Does anyone have any idea why my Tomcat 7 instance does not accept the WAR? I have already tried excluding tomcat in the pom.xml and I am using the method configure() in SpringBootServletInitializer.