4 Replies Latest reply on Feb 11, 2011 10:45 AM by Matt Choate

    Tag Library Error

    Matt Choate Newbie

      Hello,

       

      I am attempting to update our jsf 1.2 and richfaces 3.3 application to jsf 2.0 and richfaces 4.0 M5.  Our 1.2 pages are standard jsf pages (not facelets) and I am having issues getting the pages to render.   When hitting the first page we get this error:

       

      org.apache.jasper.JasperException: The absolute uri: http://richfaces.org/a4j cannot be resolved in either web.xml or the jar files deployed with this application
          at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
          at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
          at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
          at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:313)
          at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
          at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
          at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:491)
          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1438)
          at org.apache.jasper.compiler.Parser.parse(Parser.java:137)
          at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
          at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
          at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:171)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
          at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
          at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
          at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
          at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.LoginFilter.doFilter(LoginFilter.java:107)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.PagePermissionsFilter.doFilter(PagePermissionsFilter.java:60)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:63)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.LandslideContextFilter.doFilter(LandslideContextFilter.java:101)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
          at java.lang.Thread.run(Thread.java:619)

       

       

       

      The richafaces jar files are deployed in our war in the WEB-INF/lib folder.

       

      Any help would be appreciated.

       

      matt

       

       

       

       

      org.apache.jasper.JasperException: The absolute uri: http://richfaces.org/a4j cannot be resolved in either web.xml or the jar files deployed with this application
          at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
          at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
          at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
          at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:313)
          at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
          at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
          at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:491)
          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1438)
          at org.apache.jasper.compiler.Parser.parse(Parser.java:137)
          at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
          at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
          at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:171)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
          at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
          at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
          at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
          at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.LoginFilter.doFilter(LoginFilter.java:107)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.PagePermissionsFilter.doFilter(PagePermissionsFilter.java:60)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:63)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.LandslideContextFilter.doFilter(LandslideContextFilter.java:101)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
          at java.lang.Thread.run(Thread.java:619)

      org.apache.jasper.JasperException: The absolute uri: http://richfaces.org/a4j cannot be resolved in either web.xml or the jar files deployed with this application
          at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
          at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
          at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
          at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:313)
          at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
          at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
          at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:491)
          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1438)
          at org.apache.jasper.compiler.Parser.parse(Parser.java:137)
          at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
          at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
          at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:171)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)
          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
          at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
          at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
          at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
          at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.LoginFilter.doFilter(LoginFilter.java:107)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.PagePermissionsFilter.doFilter(PagePermissionsFilter.java:60)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:63)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at com.landslide.web.filters.LandslideContextFilter.doFilter(LandslideContextFilter.java:101)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
          at java.lang.Thread.run(Thread.java:619)