tomcat启动很慢 停留在 At least one JAR was scanned for TLDs yet contained no TLDs.

     部署项目时候,发现启动特别慢,要等好几分钟,这不正常啊。然后每次部署都停留在

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.

 

    之后又仔细看了下,下面还有一句

 

上google看了下,为何这个SecureRandom花费了这么长的时间,额 看这篇吧

http://blog.csdn.net/chszs/article/details/49494701

 

额,我是用的第二张方式,亲测有效

修改jre的文件

/usr/local/jdk1.8.0_111/jre/lib/security/java.security

 

 替换里面的这句话

 

posted @ 2017-04-18 20:05  Doyourself!  阅读(19925)  评论(0编辑  收藏  举报