【发布时间】:2013-01-18 14:26:06
【问题描述】:
我的 JSP 上有一个 URI,并找到了带有 jar 的 tld。 jsp 和 tld 都具有相同的 URI 但我收到以下错误
Error(3,5): No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
在 JSP 上看起来像这样
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>
和tld是这样的
<tlib-version>11.1.2.3.0</tlib-version>
<short-name>af</short-name>
<uri>http://xmlns.oracle.com/adf/faces/rich</uri>
【问题讨论】:
-
对照您的 web.xml 检查 TLD 版本。
-
至少显示 URI 在您的 JSP 页面中的样子。
-
JAR 在
/WEB-INF/lib中吗?它真的是.tld文件还是实际上是.taglib.xml文件? -
更新了..请检查
-
好的,这确实是一个
.tld文件。 JAR 在/WEB-INF/lib中吗?
标签: java jsf oracle-adf taglib