The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
Error:
Hit this error while deploying webapps in Tomcat. “The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved …”
Story:
I’m trying to include JSTL in JSP pages. I get the above error while starting up the webapp in Tomcat.
Solution:
The jstl.jar is missing from the web deployment package (.war) file. Add in jstl.jar in /WEB-INF/lib/ is the most directive way to solve this problem. If maven is used in the project, we can include the xml code below and let maven do the JAR file searching and packing for us.
<dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> <version>1.1.2</version> </dependency>
Thanks for godbiest’s update 🙂
Great thanks!
210 Backlinks
October 18, 2009 at 4:03
Relocated to
javax.servlet
jstl
1.1.2
godbiest
June 7, 2010 at 19:56
thanks for the update 🙂
Alfred
June 22, 2010 at 20:12