Tomcat啟動,顯示“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”
這是因為Tomcat的TLD自動掃描功能,進入Tomcat目錄下的conf/context
<?xml version='1.0' encoding='utf-8'?> <Context processTlds="false"> <WatchedResource>WEB-INF/web.xml</WatchedResource> </Context>
把Context processTlds設為false就可以了。