1 2 Previous Next 22 Replies Latest reply on Jul 13, 2006 6:32 PM by nmalbranche Go to original post
      • 15. Re: Seam reverse engineering
        theute

        I checked the nightly build that you downloaded, it includes the correct templates. You can check by yourself in the hibernate-tools.jar there is a seam directory that contains the templates.

        So Eclipse is not picking up the libs you downloaded. Make sure you installed the nightly build correctly

        • 16. Re: Seam reverse engineering
          maxandersen

          if -clean doesn't work then remove old installations or simply install into a new clean eclipse.

          • 17. Re: Seam reverse engineering
            jagoh

            ok, let me try on Monday and let you know. Thank you.

            • 18. Re: Seam reverse engineering
              jagoh

              Not. It's not working. My current installation is in d: and i have the new installation in c: but it seem no different.

              First i extract the following file to c:
              i. JBossIDE-1.6.0.GA-Bundle-win32.zip

              then extract the following nightly build to c:
              i. JBossIDE-200606082311-nightly-ALL.zip

              After i try the CRUD reverse eng. steps. I still get the compilation error at my SessionBean files. It still import the "javax.ejb.Interceptors;"

              The following are generated in import statements:
              import java.util.ResourceBundle;
              import javax.ejb.Interceptors;
              import javax.ejb.Remove;
              import javax.ejb.Stateful;
              import javax.ejb.TransactionAttribute;
              import static javax.ejb.TransactionAttributeType.NOT_SUPPORTED;
              import javax.faces.application.FacesMessage;
              import javax.faces.context.FacesContext;
              import javax.persistence.EntityManager;
              import org.hibernate.validator.Valid;
              import org.jboss.seam.annotations.Begin;
              import org.jboss.seam.annotations.Destroy;
              import org.jboss.seam.annotations.End;
              import org.jboss.seam.annotations.IfInvalid;
              import org.jboss.seam.annotations.In;
              import org.jboss.seam.annotations.Name;
              import org.jboss.seam.annotations.Outcome;
              import org.jboss.seam.ejb.SeamInterceptor;

              When you think jboss will re-package the ide installation with latest nightly build?

              • 19. Re: Seam reverse engineering
                davidlzs1

                Could anybody shed some light which jar file I can find javax.ejb.Interceptors?

                Got same errors here:
                [javac] G:\eclipse\workspaces\planner\src\com\example\planner\EventsEditorBean.java:6: cannot find symbol
                [javac] symbol : class Interceptors
                [javac] location: package javax.ejb
                [javac] import javax.ejb.Interceptors;

                • 20. Re: Seam reverse engineering
                  gavin.king

                  It is now called javax.interceptors.Interceptors. By the way, the use of ejb-jar.xml is now preferred, check the examples.

                  • 21. Re: Seam reverse engineering
                    nmalbranche

                    workaround: use import javax.interceptor.Interceptors; instead (from jboss-ejb3x.jar)

                    • 22. Re: Seam reverse engineering
                      nmalbranche

                      err, just realized the question was already answered... oh well :)

                      1 2 Previous Next