4 Replies Latest reply on Feb 10, 2009 7:52 AM by binnyg

    Upgrade to 3.3.0.GA fails on startup

      I have been using 3.2.0.GA for a while and I tried to upgrade to 3.3.0.GA and I got errors while loading my app. Basically it cannot find a class. I use maven and please help me add the right dependency.

      I get

      java.lang.NoClassDefFoundError: org/ajax4jsf/context/SAXStartElementEvent


      This is my maven dependency
      <dependency>
       <groupId>org.richfaces.ui</groupId>
       <artifactId>richfaces-ui</artifactId>
       <version>3.3.0.GA</version>
       </dependency>



        • 1. Re: Upgrade to 3.3.0.GA fails on startup
          nbelaevski

          Hello Binesh,

          Looks like you have both 3.2.0.GA and 3.3.0.GA in classpath. Can you please check?

          • 2. Re: Upgrade to 3.3.0.GA fails on startup

            I double checked and I don't see any references for previous versions of jboss.

            /Users/bgummadi/asisp#>find . -name "*richfaces*"
            ./server/default/tmp/deploy/tmp39222zasis-exp.war/WEB-INF/lib/richfaces-api-3.3.0.GA.jar
            ./server/default/tmp/deploy/tmp39222zasis-exp.war/WEB-INF/lib/richfaces-impl-3.3.0.GA.jar
            ./server/default/tmp/deploy/tmp39222zasis-exp.war/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar


            I checked the jar file in maven dependencies and I don't see SAXStartElementEvent in org.ajax4jsf.context package. Three jar files that maven downloaded are richfaces-api-3.3.0.GA.jar, richfaces-ui-3.3.0.GA.jar and richfaces-impl-3.3.0.GA.jar

            Thanks tho. Any other suggestions?

            • 3. Re: Upgrade to 3.3.0.GA fails on startup
              nbelaevski

              SAXStartElementEvent class has been removed in 3.3.0.GA. If you are using portlet bridge please try to update to the latest one.

              • 4. Re: Upgrade to 3.3.0.GA fails on startup

                Thank you. That fixed the problem.