2 Replies Latest reply on Feb 19, 2015 8:46 AM by ibstmt

    RF 4.5 and JSF?

    ibstmt

      I am trying to set up an environment with RF 4.3.7 and Hibernate 3 under Eclipse. This is an upgrade from older versions of both.  When I start up Hibernate and attempt to get into the admin console, I get the following error in my console

       

      Caused by: java.lang.RuntimeException: The JSF implementation 2.1.6-SNAPSHOT does not support the RichFaces ExtendedPartialViewContext.  Please upgrade to at least Mojarra 2.1.28 or 2.2.6

          at org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67)

          at org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:167)

      :

       

       

      My Glassfish library includes:

      javax.faces-2.2.6.jar. 

      richfaces-a4j-4.5.2.Final.jar

      richfaces-core-4.5.2.Final.jar

      richfaces-rich-4.5.2.Final.jar

      richfaces-page-fragments-4.5.2.Final.jar

       

      I'm not really sure where the conflict is, and where 2.1.6 is being referenced.  Any ideas?

        • 1. Re: RF 4.5 and JSF?
          michpetrov

          Glassfish runs its own version of JSF, so the version you're including with your project doesn't matter. If you wan't Glassfish to use it you'll have to upgrade it manually, the jars are under glassfish/modules.

          • 2. Re: RF 4.5 and JSF?
            ibstmt

            Thanks, that solved the problem.  I removed the old javax.faces.jar from glassfish/modules, and replaced it with javax.faces-2.2.6.jar.  No more error.