Tomcat启动/关闭的时候,遇到At least one JAR was scanned for TLDs yet contained no TLDs问题的解决办法

1、控制台错误提示如下:

At least one JAR was scanned for TLDs yet contained no TLDs

07-Mar-2017 11:00:21.970 INFO [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 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.

解决办法:

如果你的项目不需要Tld,就修改一下conf/catalina.properties文件,修改之前先备份
tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jar

猜你喜欢

转载自www.cnblogs.com/YouBoWen/p/9987969.html
今日推荐