首页 > 代码库 > Tomcat7启动log打印到INFO: At least one JAR was scanned for TLDs yet contained no TLDs.就停止不动了
Tomcat7启动log打印到INFO: At least one JAR was scanned for TLDs yet contained no TLDs.就停止不动了
环境:
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.就停止不动了
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。