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

时间:2021-01-25 09:11:32

问题:   

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