Alfred’s Computing Weblog

Alfred Java-cored Computing Weblog

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

with 3 comments

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 🙂

Written by Alfred

December 22, 2008 at 17:04

Posted in Java, maven

Tagged with ,

3 Responses

Subscribe to comments with RSS.

  1. Great thanks!

    210 Backlinks

    October 18, 2009 at 4:03

  2. 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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: