org.apache.jasper.compiler.TldLocationsCache tldScanJar,org.apache.jasper

來源:互聯網
上載者:User

org.apache.jasper.compiler.TldLocationsCache tldScanJar,org.apache.jasper

    我在頁面上一點擊查詢,console下面就有如下的紅色文字:


2014-8-19 15:09:27 org.apache.jasper.compiler.TldLocationsCache tldScanJar
資訊: 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對於頁面el運算式的校正。

解決方案是:把你的頁面中含有<!---->的注釋 去掉就好了


tomcat 7014訪問JSP頁面時的問題

TLD 是標籤的定義文檔,在你引入標籤庫的時候定義了TLD的位置

比如:
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@taglib uri="java.sun.com/jsp/jstl/core" prefix="c"%>

可以看出有兩種方式引入,第一本地,第二遠程

從你的異常來看,你應該是從本地引入的
但是檔案並不存在

三種解決方式1 改成遠程引入 2 把TLD檔案copy到本地 3修改log配置,不列印警告資訊
 
解釋一下,下面的資訊什意思

缺少檔案包
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.