Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [iam-dev] NoClassDefFoundError: org.eclipse.core.resources.IProject

this is the exact stack trace, happens if the war depends on an open project

another issue is that I get "Build path contains duplicate entry"
errors, seems the other open project is in both Maven and WTP
containers. How is it supposed to work?

java.lang.NoClassDefFoundError: org.eclipse.core.resources.IProject
at org.eclipse.jem.util.emf.workbench.ProjectUtilities.addReferenceProjects(ProjectUtilities.java:174)
at org.eclipse.iam.wtp.core.postprocessor.WtpEnablerPostprocessor.addAsJEEDependency(WtpEnablerPostprocessor.java:162)
at org.eclipse.iam.wtp.core.postprocessor.WtpEnablerPostprocessor.getExtraAttributesForArtifact(WtpEnablerPostprocessor.java:123)
at org.eclipse.iam.jdt.core.classpath.container.MavenClasspathContainer.getExtraAttributes(MavenClasspathContainer.java:353)
at org.eclipse.iam.jdt.core.classpath.container.MavenClasspathContainer.resolveArtifact(MavenClasspathContainer.java:290)
at org.eclipse.iam.jdt.core.classpath.container.MavenClasspathContainer.resolveArtifacts(MavenClasspathContainer.java:252)
at org.eclipse.iam.jdt.core.classpath.container.MavenClasspathContainer.refreshClasspath(MavenClasspathContainer.java:138)
at org.eclipse.iam.jdt.core.classpath.container.MavenClasspathContainer.newClasspath(MavenClasspathContainer.java:178)
at org.eclipse.iam.jdt.core.classpath.container.UpdateClasspathJob.runInWorkspace(UpdateClasspathJob.java:80)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.resources.IProject
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
... 11 more

On Thu, Apr 9, 2009 at 11:11 AM, Abel Muiño Vizcaino <amuino@xxxxxxxxx> wrote:
> No idea, but an option would be comparing the versions provided by Eclipse
> and RAD.
>
> Which version of the eclipse resources bundle is RAD shipping? Does it match
> the one expected by our wtp integration? It might be worth checking also the
> version of the bundle containing org.eclipse.jem.*
>
> El 09/04/2009, a las 17:18, Carlos Sanchez escribió:
>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=271544
>>
>> I'm having this really weird error in RAD, any idea what could
>> possibly be wrong?
>> _______________________________________________
>> iam-dev mailing list
>> iam-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/iam-dev
>
> _______________________________________________
> iam-dev mailing list
> iam-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/iam-dev
>


Back to the top