首页 > 编程语言 > 详细

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 12:49:19      阅读:710      评论:0      收藏:0      [点我收藏+]

 

问题描述

  在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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!