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 d

今天tomcat下启动web项目,项目启动很慢,但是启动中没有报错,访问页面的时候让我想起一首歌“爱的魔力转圈圈....”,好不容易不转了,验证码一直刷不出来

发现项目启动完的时候,日志中有一段提示: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 d

于是百度,首先试了这个博主的方法

https://blog.csdn.net/sinat_34104446/article/details/82721250

结果不行 ,还是刷不出验证码

后来试了这个https://blog.csdn.net/y1324997149/article/details/78086886

即在tomcat里面的catalina.sh文件中,增加以下语句 -Djava.awt.headless=true 

问题解决

 

posted @ 2019-03-01 11:04  昊Zz  阅读(1611)  评论(0编辑  收藏  举报