首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

No tag library could be found with this URI解决方法

2012-03-03 
No tag library could be found with this URI我用weblogic部署的项目,用到%@taglib urihttp://java.su

No tag library could be found with this URI
我用weblogic部署的项目,用到<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>标签库,但提示:
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /el.jsp
el.jsp:2:4: 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.
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  ^----^
el.jsp:2:4: 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.
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  ^----^

at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:226)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:162)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
Truncated. see log file for complete stacktrace
>
其中点击:JavelinxJSPStub.java:226、JavelinxJSPStub.java:162、JspStub.java:246、JspStub.java:191、ServletStubImpl.java:235。提示:Source not found for weblogic.servlet.jsp.*

[解决办法]
缺少jstl的包jstl.jar以及一系列的tld文件吧。。。仔细检查一下。。

热点排行