1 Reply Latest reply on Oct 26, 2005 3:13 PM by Alec Lanter

    The absolute uri: http://java.sun.com/jstl/fmt cannot be res

    Matt Parker Newbie


      Using JBoss 4.0.2. I'm having a problem with JSTL when I declare my taglibs using the META-INF method. For example, if I have this in my web.xml:-


      I get the following stack-trace:-

      14:29:20,317 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jstl/fmt cannot be resolved in either web.xml or the jar files deployed with this application
      at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
      at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
      at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
      at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
      at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:147)

      However, if I declare it the other way:-


      Then everything works fine.

      I'd prefer to use the first method, as it's neater from the point of view of my build process and the fact that I'm developing various utility modules that will be used across various apps.

      Any ideas?