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

Tomcat启动/关闭的时候,遇到At least one JAR was scanned for TLDs yet contained no TLDs问题的解决办法

时间:2018-11-20 13:22:52      阅读:1597      评论:0      收藏:0      [点我收藏+]

标签:inf   logging   nec   ping   备份   debug   lis   tomcat   needed   

1、控制台错误提示如下:

At least one JAR was scanned for TLDs yet contained no TLDs

07-Mar-2017 11:00:21.970 INFO [RMI TCP Connection(2)-127.0.0.1] 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.

解决办法:

如果你的项目不需要Tld,就修改一下conf/catalina.properties文件,修改之前先备份
tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jar

Tomcat启动/关闭的时候,遇到At least one JAR was scanned for TLDs yet contained no TLDs问题的解决办法

标签:inf   logging   nec   ping   备份   debug   lis   tomcat   needed   

原文地址:https://www.cnblogs.com/YouBoWen/p/9987969.html

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