File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes The absolute uri: http://java.sun.com/jstl/core cannot be resolve Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "The absolute uri: http://java.sun.com/jstl/core cannot be resolve" Watch "The absolute uri: http://java.sun.com/jstl/core cannot be resolve" New topic
Author

The absolute uri: http://java.sun.com/jstl/core cannot be resolve

naveed garg
Greenhorn

Joined: Mar 01, 2012
Posts: 15

hello , i am running jstl code in eclipse but i am getting this error :


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:386)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:449)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1396)
org.apache.jasper.compiler.Parser.parse(Parser.java:130)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.29

and my code is:




please help me :

i have use both uri but getting above error :

<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
Is the correct URI. The other is outdated.

Where did you place the JSTL jar files?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
naveed garg
Greenhorn

Joined: Mar 01, 2012
Posts: 15

i am using eclipse so i add all jar file in build path . and also add in tomcat lib
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

Moved to the IDEs forum.

The Tomcat lib folder is not the place to put these.
naveed garg
Greenhorn

Joined: Mar 01, 2012
Posts: 15
now i remove jstl jar file from tomcat lib folder , but still put in IDE .
naveed garg
Greenhorn

Joined: Mar 01, 2012
Posts: 15

now this code is working fine , Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The absolute uri: http://java.sun.com/jstl/core cannot be resolve
 
Similar Threads
jstl issue
help needed in JSTL
JSP2.0 uri for tag library isn't working in Tomcat 5.x
help needed in JSTL
Error in jsf