当启动应用程序或通过ant编译JSP时,Tomcat 7 Jasper抱怨多余的或放错的JAR文件。我收到了消息 **compile-jsp:** [jasper] Jul 31, 2012 7:15:15 PM org.apache.jasper.compiler.TldLocationsCache tldScanJar [jasper] INFO
**compile-jsp:** [jasper] Jul 31, 2012 7:15:15 PM org.apache.jasper.compiler.TldLocationsCache tldScanJar [jasper] 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.
扫描过程中如何跳过不需要的JAR可以提高tomcat的启动时间和JSP编译时间?
如何实现更好的输出?
对于Tomcat 8,我不得不将以下行添加到tomcat / conf / logging.properties中,供Tomcat扫描的jar显示在日志中:org.apache.jasper.servlet.TldScanner.level = FINE