5 Replies Latest reply on Jul 15, 2005 1:25 AM by Ron Smits

    error when initializing j2ee project

    Ron Smits Newbie

      I have the same problem, a pity nobody seems to answer the question

        • 1. Re: error when initializing j2ee project
          Peter Johnson Master

          This is probably the infamous "JBossIDE is not compatible with latest versions of Eclipse" problem (look through the forum, seems like 90% of the messages from the past several weeks are about this same issue, though sometimnes with slightly different symptoms).

          To fix it, use JBossIDE only with Eclipse versions with which it is certified.

          • 2. Re: error when initializing j2ee project
            Bradley Wagner Newbie

            I would like to reiterate my request for a Stick post or announcement from JBoss folks explaining the incompatibility and giving their estimate as to when it will be fixed.

            • 3. Re: error when initializing j2ee project
              Ron Smits Newbie

               

              "PeterJ" wrote:
              This is probably the infamous "JBossIDE is not compatible with latest versions of Eclipse" problem (look through the forum, seems like 90% of the messages from the past several weeks are about this same issue, though sometimnes with slightly different symptoms).

              To fix it, use JBossIDE only with Eclipse versions with which it is certified.


              Actually it is the complete package from jboss.org. 115M and it contains the eclipse. So I would assume it is the correct version of eclipse.

              This is what is in the (workspace)/.metadata/.log file (talk about hiding a hidden file in a hidden directory :) )

              !MESSAGE Internal Error
              !STACK 1
              Java Model Exception: Java Model Status [ocalendar does not exist]
              at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:467)
              at org.eclipse.jdt.internal.core.JavaModelManager.getPerProjectInfoCheck
              Existence(JavaModelManager.java:941)
              at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo(JavaProject.java:1779)
              at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1917)
              at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:342)
              at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:203)
              at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:487)
              at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:231)
              at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:217)
              at org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaElement.java:172)
              at org.eclipse.jdt.internal.core.JavaProject.getPackageFragmentRoots(JavaProject.java:1700)
              at org.eclipse.jdt.internal.corext.buildpath.ClasspathModifier.hasOutputFolders(ClasspathModifier.java:979)
              at org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.NewSourceContainerWorkbookPage.init(NewSourceContainerWorkbookPage.java:128)
              at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.updateUI(BuildPathsBlock.java:370)
              at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.init(BuildPathsBlock.java:344)
              at org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage.init(JavaCapabilityConfigurationPage.java:112)
              at org.jboss.ide.eclipse.jdt.ui.wizards.ProjectWizardPage.updateProject(ProjectWizardPage.java:276)
              at org.jboss.ide.eclipse.jdt.ui.wizards.ProjectWizardPage$1.run(ProjectWizardPage.java:139)
              at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:344)
              at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:289)


              • 4. Re: error when initializing j2ee project
                Peter Johnson Master

                Interesting. The full package (Eclispe + JBOssIDE) should work (I've seen posts from others that it works for them).

                I assumed the incomptability problem because I have JBossIDE with Eclipse 3.1m6 (yeah, that is not a kosher combination) and am quite familiar with the "Test does not exist" error. Hence I create my projects manually (as plain Java projects) and only make use of the JBossIDE for the editors (JSP, HTML, etc) that it provides (most of the editors work fine). But then I am not building EJBs either.

                • 5. Re: error when initializing j2ee project
                  Ron Smits Newbie

                   

                  "PeterJ" wrote:
                  Interesting. The full package (Eclispe + JBOssIDE) should work (I've seen posts from others that it works for them).

                  I assumed the incomptability problem because I have JBossIDE with Eclipse 3.1m6 (yeah, that is not a kosher combination) and am quite familiar with the "Test does not exist" error. Hence I create my projects manually (as plain Java projects) and only make use of the JBossIDE for the editors (JSP, HTML, etc) that it provides (most of the editors work fine). But then I am not building EJBs either.


                  I have opened a bug report for this http://jira.jboss.com/jira/browse/JBIDE-203 lets hope an answer will be fortcoming there

                  Ron[/url]