Published on Sep 25 2014 in Java Tomcat

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

This is usually caused by incompatibility between used taglib URI and available JSTL jars. Check what version matches your URI by consulting JavaRanch article.

Tomcat 6 and higher (JSP 2.1+) should use version 1.2.

In practice, from WEB-INF/lib remove old jstl.jar (1.1) and put newer JSTL (1.2) jstl-1.2.1.jar and jstl-api-1.2.1.jar instead (or all-in-one version jstl-1.2.jar).

To get the jars run:

wget http://repo1.maven.org/maven2/javax/servlet/jsp/jstl/javax.servlet.jsp.jstl-api/1.2.1/javax.servlet.jsp.jstl-api-1.2.1.jar
wget http://repo1.maven.org/maven2/org/glassfish/web/javax.servlet.jsp.jstl/1.2.1/javax.servlet.jsp.jstl-1.2.1.jar

or for all-in-one version:

wget http://download.java.net/maven/1/jstl/jars/jstl-1.2.jar

Restart your Tomcat and the problem shoud be gone.