0 Replies Latest reply on Apr 24, 2013 6:13 AM by molarisapa

    Application with Seam 2.1 work fine with Glassfish v2.1 but some troubles with Glassfish v3.1

    molarisapa

      Hi!

       

      Actually, I deal with a J2EE Application Ejb3 managed by these purposes :

       

      • seam.version : 2.1.0.GA
      • richfaces.version : 3.3.3.Final
      • hibernate.version : 3.3.2.GA
      • jsf.version : 1.2.15

       

      This application work great with Glassfish v2.1 without errors, but I should upgrade to Glassfish v3.1

       

      When I start my app, I have this error :

       

      GRAVE: Critical error during deployment:

      com.sun.faces.config.ConfigurationException:

        Source Document: jar:file:/home/olivier/Java/glassfish-3.1.2/glassfish/domains/domain1/applications/GED_PP/lib/jboss-seam-ui-2.1.0.GA.jar!/META-INF/faces-config.xml

        Cause: Class 'org.jboss.seam.ui.renderkit.CacheRendererBase' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/jboss/seam/log/Logging

       

      But I have library jboss-seam-2.1.0.GA.jar in my "ear file" who already have the class org.jboss.seam.log.Logging

       

      My "ear file" look like this :

       

      MyApp.ear

      - jboss-seam-2.1.0.GA.jar

      - MyApp-WebApp-1.0.war

      - MyApp-Ejb-1.0.ejb

      - META-INF/application.xml

      - lib/xxx.jar

       

      I'm stuck, why Glassfish v3.1 can't see this class?

       

      Regards

      Olivier