本文主要是介绍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”问题的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!