2 Replies Latest reply on Jun 11, 2009 3:30 PM by lvdberg

    Error while creating a new project using jboss plugin in eclipse

    murtaza52

      I am new to Seam and trying it out for the first time. I have eclipse 3.4, seam 2.1.1 GA, and jBoss 4.2.3 GA.


      I tried creating a new project using the 'Seam Web Project' project template in eclipse. The name of my new project is open18. (I am reading the book seaminaction which has the open 18 project.) The wizard created a few projects.


      However eclipse is giving me these errors in the error pane -


      The project was not built since the source file /Open18-ejb/ejbModule/org/domain/open18/session/Authenticator.java could not be read


      The above class authenticator.java was generated by the wizard, and I can open it in eclipse. How do I address the above error? Please advise.


        • 1. Re: Error while creating a new project using jboss plugin in eclipse
          heldwein

          It seems to be an Eclipse problem.


          I've experienced the same error message, and after I closed Eclipse, deleted all old logs in workspace/.metadata, started Eclipse again it worked perfectly after a full rebuild.


          Ciao
          Christian


          • 2. Re: Error while creating a new project using jboss plugin in eclipse
            lvdberg

            Possibly the project needs a refresh and full rebuild. We use the refresh command and additionally force a complete and clean rebuild by forcing a complete compile by changing the compiler setting to another java version (from java 6 to 1.3) generates a incredible number of errors, but after switching back to java 6 everything works fine.




            Small additional advice: I don't know if you've assembled the Eclipse environment yourself, but if your employer allows you; spend the money on purchasing a license for the JBOSS developent environment. We've spent numerous days to get all the plug-ins working together which cost absolutely a lot more than $ 99,-