当前位置: 代码迷 >> J2EE >> No tag library could be found with this URI解决办法
  详细解决方案

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

热度:3697   发布时间:2013-02-25 21:41:17.0
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文件吧。。。仔细检查一下。。
  相关解决方案