码迷,mamicode.com
首页 > 编程语言 > 详细

Tomcat7启动log打印到INFO: At least one JAR was scanned for TLDs yet contained no TLDs.就停止不动了

时间:2016-12-03 01:10:11      阅读:615      评论:0      收藏:0      [点我收藏+]

标签:arm   ring   检查   blog   nbsp   sub   修改   span   pre   

环境:

RHEL7,tomcat7.0.70

问题:

启动tomcat时,catalina.out日志打印到如下内容就停止不动了,也不报错

SEVERE: FarmWarDeployer can only work as host cluster subelement!
Dec 02, 2016 4:27:39 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /app/apache-tomcat-7.0.73/webapps/ROOT.war
Dec 02, 2016 4:27:43 PM org.apache.catalina.startup.TldConfig execute
INFO: 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.

 

根本原因是Jar包检查TLD标签没有通过,解决办法是删除 conf/catalina.properties中的部分内容

org.apache.catalina.startup.TldConfig.jarsToSkip=XXX.jar,XXXX.jar

修改为如下:

org.apache.catalina.startup.TldConfig.jarsToSkip=

Tomcat7启动log打印到INFO: At least one JAR was scanned for TLDs yet contained no TLDs.就停止不动了

标签:arm   ring   检查   blog   nbsp   sub   修改   span   pre   

原文地址:http://www.cnblogs.com/zaqweb/p/6126733.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!