| Code: |
|
<web-app xmlns="http://java.sun.com/xml/ns/javaee" 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_3_0.xsd" version="3.0"> |
| Code: |
|
<dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.0.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.glassfish.web</groupId> <artifactId>javax.servlet.jsp.jstl</artifactId> <version>1.2.1</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet.jsp.jstl</groupId> <artifactId>javax.servlet.jsp.jstl-api</artifactId> <version>1.2.1</version> <scope>provided</scope> </dependency> |
| Code: |
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
| Code: |
|
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 |
| support-joy wrote: |
| curmudgeon99,
You need to get the right version of JSTL, they use different URIs. Check if you have jstl-api.jar and jstl-impl.jar in your project build path? If not, please add the same. I think you need to use JSTL version 1.2. You could download the same from here - http://jstl.java.net/download.html |