您的位置:首页 > 大数据 > 人工智能

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logge

2016-04-16 11:33 781 查看
问题:

当控制台打印 信息: 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.

原因:表达式使用不正确,如${ResquestScope.xxx},这里request不能够大写,

办法:应该这样${resquestScope.xxx},这应该是java书写规范里面的问题。

其他人的建议:

第一种:严格遵守java规范,修改对象的属性名称,要求不包含java关键字;

第二种:修改EL表达式,例如"${owner.new}"可以修改为"${owner['new']}";

第三种:修改tomcat属性,忽略对EL表达式的关键字检查。修改$CATALINA_BASE/conf/catalina.properties文件,添加org.apache.el.parser.SKIP_IDENTIFIER_CHECK=true选项。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: