[jboss-user] [JBoss Tools] - Error after enabling m2eclipse
Leandro Iriarte
do-not-reply at jboss.com
Mon Mar 28 05:50:21 EDT 2011
Leandro Iriarte [http://community.jboss.org/people/liriarte] created the discussion
"Error after enabling m2eclipse"
To view the discussion, visit: http://community.jboss.org/message/595906#595906
--------------------------------------------------------------
I got the following error in JBoss Studio 3.0.1.GA after enabling m2eclipse dependency management in all the projects.
An internal error occurred during: "Initializing Java Tooling".
org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl cannot be cast to org.eclipse.jst.javaee.application.Application
In the log file I find the following:
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.ClassCastException: org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl cannot be cast to org.eclipse.jst.javaee.application.Application
at org.eclipse.jst.j2ee.project.EarUtilities.getEARLibDir(EarUtilities.java:372)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.getBaseEARLibRefs(J2EEComponentClasspathContainer.java:321)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.update(J2EEComponentClasspathContainer.java:211)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.install(J2EEComponentClasspathContainer.java:351)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathInitializer.initialize(J2EEComponentClasspathInitializer.java:47)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2642)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1813)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2578)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2679)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1899)
at org.jboss.tools.common.model.util.EclipseResourceUtil.getClassPath(EclipseResourceUtil.java:676)
at org.jboss.tools.seam.internal.core.scanner.lib.ClassPath.update(ClassPath.java:95)
at org.jboss.tools.seam.core.SeamCoreBuilder.build(SeamCoreBuilder.java:95)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/595906#595906]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110328/fe3ab659/attachment.html
More information about the jboss-user
mailing list