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

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

时间:2017-07-24 13:24:13      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:deb   页面   was   needed   检查   net   抛出异常   java   名称   

 

问题描述

  在tomcat启动时打印出一句error日志,内容为:

24-Jul-2017 11:28:33.486 信息 [RMI TCP Connection(4)-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.

问题原因

  这样的问题是你的页面中含有<!---->的代码,由于tomcat是需要解析tld的,所以可能会抛出异常警告,但不会影响程序启动! 

解决方案

  第一种:严格遵守java规范,修改对象的属性名称,要求不包含java关键字; 
  第二种:修改EL表达式,例如"${owner.new}"可以修改为"${owner[‘new‘]}"; 
  第三种:修改tomcat属性,忽略对EL表达式的关键字检查。修改$CATALINA_BASE/conf/catalina.properties文件,添加org.apache.el.parser.SKIP_IDENTIFIER_CHECK=true选项。

 

 

问题转载于: http://blog.csdn.net/yangsen251024/article/details/21952613

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

标签:deb   页面   was   needed   检查   net   抛出异常   java   名称   

原文地址:http://www.cnblogs.com/wqh17/p/7228138.html

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