At least one JAR is scanned for TLDs yet contained no TLDs

Source: Internet
Author: User
Tags java keywords

Http://blog.csdn.net/benyuxy/article/details/7568386

June, 2013 1:09:49 PM org.apache.jasper.compiler.TldLocationsCache tldscanjar info:at least one JAR is scanned for TLD s yet contained no TLDs. Enable Debug logging for this logger to a complete list of JARs that were scanned but no TLDs we Re found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.


The problem is that your page contains <!----> notes removed, tomcat7.0.20.

Tomcat 7 has strict syntax requirements for El expressions, such as "${owner.new}" which causes parsing errors due to the inclusion of the keyword new.
The problem is out, how to solve it. There are three kinds, as follows:
The first: Strictly follow the Java specification, modify the object's property name, the requirement does not include Java keywords;
The second: modifying El expressions, such as "${owner.new}", can be modified to "${owner[' new"} ";
Third: Modify the Tomcat attribute, ignoring the keyword check for El expressions. Modify the $catalina_base/conf/catalina.properties file and add the Org.apache.el.parser.skip_identifier_check=true option.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.