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

org.apache.jasper.compiler.TldLocationsCache tldScanJarjava

INFO: 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.apache


這樣的問題是你的頁面中含有<!---->的註釋 去掉就行了,tomcat7.0.20.

tomcat 7對EL表達式的語法要求比較嚴格,例如"${owner.new}"因包含關鍵字new就會致使解析出錯。
問題是出來了,怎麼解決呢?有三種,以下:
第一種:嚴格遵照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/feier7501/article/details/9012587tomcat

相關文章
相關標籤/搜索