1. 程式人生 > >Tomcat啟動/關閉的時候,遇到At least one JAR was scanned for TLDs yet contained no TLDs問題的解決辦法

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