facebook

problems with myfaces 1.1.1

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #241356 Reply

    kosl
    Member

    Hello,

    I’m writing an application using myfaces, I tried to move to myfaces 1.1.1, but when I try to use it I get the following exception:

    
    javax.servlet.ServletException: /admin/console.jsp(20,0) The absolute uri: http://myfaces.apache.org/extensions cannot be resolved in either web.xml or the jar files deployed with this application
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    
    root cause
    
    javax.faces.FacesException: /admin/console.jsp(20,0) The absolute uri: http://myfaces.apache.org/extensions cannot be resolved in either web.xml or the jar files deployed with this application
        org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
        org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
        org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    

    Does anybody know what might be the cause? I’m using the tomahawk.jar, and I guess there is something wrong in my web.xml or faces-config.xml..

    Thanks in advice for any help..

    Karol

    #241359 Reply

    Riyad Kalla
    Member

    Karol,
    It looks like the URI of one of the taglibs you are using might have changed on you. Find the JAR that provides your myfaces extensions tags, and open it up, go into the META-INF dir and open one of the TLD files, look around the 5th line or so for a tag:
    <url>blahblah</url>

    use whatever the blahlbha part is to update your web.xml <taglib> entries OR if you are using the default URI, update your <%@taglib%> entries in your JSP files.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: problems with myfaces 1.1.1

You must be logged in to post in the forum log in