5 Replies Latest reply on Feb 6, 2006 9:03 PM by gavin.king

    Getting Started

    breitscott

      I am starting with Seam. I took a new version of Jboss4sp1 and ran the ant deploy under the examples booking. I got the following error:

      11:17:21,686 ERROR [LocaleUtils] Locale name null or empty, ignoring
      11:17:21,692 ERROR [StartupServletContextListener] Error initializing ServletContext
      java.lang.IllegalArgumentException: Class org.jboss.seam.jsf.SeamVariableResolver is no javax.faces.el.VariableResolver
      at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:511)
      at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:446)
      at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:130)
      at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)

        • 1. Re: Getting Started
          gavin.king

          You have a classloading issue.

          Difficult to say more than that.

          • 2. Re: Getting Started
            breitscott

            Gavin,

            I downloaded JBoss 4.0.3SP1 and untarred it.

            I ran the ant deploy in the bookings directory.

            I received the following error:

            17:37:17,616 ERROR [[/seam-booking]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
            java.lang.NoClassDefFoundError: javax/ejb/Stateful
            at org.jboss.seam.Seam.getComponentType(Unknown Source)
            at org.jboss.seam.Component.(Unknown Source)
            at org.jboss.seam.Component.(Unknown Source)
            at org.jboss.seam.init.Initialization.addComponent(Unknown Source)
            at org.jboss.seam.init.Initialization.addComponents(Unknown inerBase.java:739)

            Is this not having the EJB3 turned on? If so, how do I?

            • 3. Re: Getting Started
              gavin.king

              How did you install EJB3?

              • 4. Re: Getting Started
                breitscott

                Gavin,

                I just untarred it. How do I get EJB3 into JBoss-4.0.3SP1? I thought it was already in the product.

                Scott

                • 5. Re: Getting Started
                  gavin.king

                  I suppose there are instructions in the download/documentation. (Otherwise ask in the EJB3 forum.)

                  The current CVS version of Seam is not compatible with EJB3 in 4.0.3. That's why you need to upgrade to the latest release.