日期:2014-05-17  浏览次数:21021 次

File "/WEB-INF/tiles-jsp.tld" not found
  严重: Servlet.service() for servlet [jsp] in context with path [/Test01] threw exception [/user/user_add.jsp (line: 3, column: 0) /common/top.jsp (line: 2, column: 54) File "/WEB-INF/tiles-jsp.tld" not found] with root cause
org.apache.jasper.JasperException: /user/user_add.jsp (line: 3, column: 0) /common/top.jsp (line: 2, column: 54) File "/WEB-INF/tiles-jsp.tld" not found
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)

帮我看看到底是哪里的路径错了



path exception

------解决方案--------------------
不要放在WEB.INF里面,那里面都是放jar包和配置文件的
------解决方案--------------------
<description>A tag library exercising SimpleTag handlers.</description>
    <tlib-version>1.0</tlib-version>
    <short-name>xxx</short-name>
    <uri>xxx</uri>//引用的最好引用这里的xxx,而不是你tld文件所在的路径。
------解决方案--------------------
[img=http://img.my.csdn.net/uploads/201303/04/1362370874_8721.jpg]
uri改成/WEB-INF/tld/tiles-jsp.tld
------解决方案--------------------
在那个tld中配置uri。
 <!-- 标签库的版本号 --> 
  <tlib-version>1.0</tlib-version>
  <!-- 标签库的默认前缀 -->
  <short-name>eportal</short-name>
  <!-- 标签库的默认URI -->
  <uri>/。。</uri>