Tomcat 8.5.29启动报TldScanner.scanJars错误问题解决办法

时间:2018-03-16 10:31:38   收藏:0   阅读:20394
Tomcat 8.5.29启动过程中的错误信息:

16-Mar-2018 09:28:45.505 信息 [RMI TCP Connection(3)-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.

网上很多人都遇到,当时没有什么从根本上解决的办法。这里解决也仅仅是通过调整tocmat日志级别来控制日志输出信息。

在apache-tomcat-8.5.29\conf目录下找到logging.properties文件,对文件进行编辑,在最后一行加入:

org.apache.jasper.servlet.TldScanner.level = FINE

这样就不再显示错误信息了。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!