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
posted @ 2018-11-20 11:38  应知不染心  阅读(349)  评论(0编辑  收藏  举报