Thursday, April 12, 2007

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

Recently I was creating some JSP pages using JBoss Portal when I got an error: 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 I followed the advice from the JBoss page referenced above to resolve the issue. Basically I need to add a jsp-config tag to web.xml then add the c.tld file and jar files to my war deployment. I found the jar files in a spring-portlet-example project that I had downloaded from springframework.org.

1 comments:

CornedBee said...

This really shouldn't be necessary in a JSP 2.0-compatible container, provided that jstl.jar and standard.jar are in the classpath and the web.xml contains a 2.4 descriptor.

At least, I've never had problems with Tomcat 5.x.