title: JSTL error - The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
body: <p>First of all, I'm a newbie to JSP :). I've been trying to use JSTL today, version 1.2. I included info in my xml and the dependency in the pom. There is also <code>&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;</code>  in the jsp.</p>
  
  <p>The error message I get is:
      /index.jsp(3,15) PWC6188: The absolute uri: <a href="http://java.sun.com/jsp/jstl/core" rel="nofollow">http://java.sun.com/jsp/jstl/core</a> cannot be resolved in either web.xml or the jar files deployed with this application</p>
  
  <p>I've been rereading previous forum posts, but nothing helped so far. Actually, different posts suggest different things. So a simple tutorial would be very much appreciated :).</p>
  
  <p>Thanks a TON already!
  my web.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee     http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>my index.jsp
      &lt;%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
      &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
      
      JSTL Functions
      </p>
  
  <pre><code>&lt;c:out value="this is simply some text" /&gt;  
  
  &lt;br&gt;
  
  &lt;dependencies&gt;
      &lt;!-- JUnit to run the tests --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.10&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
  &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
          &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
          &lt;version&gt;2.1&lt;/version&gt;
  &lt;/dependency&gt;
  
      &lt;!-- Java servlet API --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
          &lt;version&gt;2.5&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Velocity templating engine --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.velocity&lt;/groupId&gt;
          &lt;artifactId&gt;velocity&lt;/artifactId&gt;
          &lt;version&gt;1.7&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- JSTL --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;jstl&lt;/artifactId&gt;
          &lt;version&gt;1.2&lt;/version&gt;
      &lt;/dependency&gt;
  
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>structure of the deployed app:</p>
  
  <ul>
  <li>test
  <ul>
  <li>index.jsp</li>
  <li>META-INF</li>
  <li>WEB-INF
  <ul>
  <li>classes</li>
  <li>lib
  <ul>
  <li>commons-collections-3.2.1.jar</li>
  <li>commons-lang-2.4.jar</li>
  <li>jstl-1.2.jar</li>
  <li>velocity-1.7.jar</li>
  </ul></li>
  </ul></li>
  <li>web.xml</li>
  </ul></li>
  <li>test.war</li>
  </ul>