Tomcat7解决“At least one JAR was scanned for TLDs yet contained no TLDs”问题

问题: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.**解决方案!!!

解决方法:

找到/usr/local/tomcat/bin下面的catalina.sh找到如下行加入一行:

在Tomcat的bin目录下找到catalina.sh,然后打开它,在以下位置添加一行代码-Djava.security.egd=file:/dev/urandom

Tomcat7解决“At least one JAR was scanned for TLDs yet contained no TLDs”问题_第1张图片

再重启即可生效果然,这个警告不再出现,速度也快了。

你可能感兴趣的:(tomcat)