INFO: validateJarFile(/usr/local/apache-tomcat-7.0.79/webapps/thsbox/WEB-INF/lib/tomcat-servlet-api-8.5.15.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class Aug 17, 2017 2:36:19 PM org.apache.catalina.startup.TldConfig execute INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
关闭TLDs
1 2 3 4 5 6 7
vim /usr/local/apache-tomcat-7.0.79/conf/context.xml
<Context processTlds="false"> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource> …… </Context>
屏蔽jar包
1 2 3 4
vim /usr/local/apache-tomcat-7.0.79/conf/catalina.properties