2 Replies Latest reply on Jul 20, 2006 12:21 PM by Daniel Green

    JSF 1.2 + Facelets = Exception?

    Daniel Green Newbie

      I'm currently running JBoss4 to which I am not allowed to make changes to. I have a set of JSF 1.2 components that I need to get working in this enviroment, but when I access any page I'm thrown an exception.
      (The full log is available at http://pastebin.ca/93520)

      The exception is:

      #
      java.lang.NoSuchMethodError: javax.faces.application.ViewHandler.initView(Ljavax/faces/context/FacesContext;)V
      #
      at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:100)
      #
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:243)
      #
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
      #
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
      #
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      #
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      #
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      #
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      #
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      #
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      #
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      #
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      #
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
      #
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      #
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      #
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      #
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:138)
      #
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      #
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      #
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      #
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      #
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      #
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      #
      at java.lang.Thread.run(Thread.java:595)


      This is an emergency! I need to get this working or I'm screwed :-(. Any help will be appreciated untill the end of time!

      Thank you!
      -OD