JavaModelException class not found when deploying a plugin [message #189004] |
Wed, 08 December 2004 18:52  |
Eclipse User |
|
|
|
Originally posted by: eemorale.cs.ucsd.edu
Hi,
I have a plug-in that depends on org.eclipse.jdt.core. Inside an
editor within this plug-in I perform the following:
IJavaProject[] projects;
try {
projects=JavaCore.create(getWorkspaceRoot()).getJavaProjects ();
} catch (JavaModelException jme) {
jme.printStackTrace();
}
This causes an error when my Editor loads up with
java.lang.NoClassDefFoundError:
org/eclipse/jdt/core/JavaModelException
on the top of the stacktrace. What's interesting is I do not get this
error when I run the PDE on my plugin in debug/development mode.
However, when I deploy it as a jar packaged plugin for eclipse to use
(inside the plugins directory), I get this error.
I've already checked the plugins directory for JavaModelException and
it appears to be fine... Why isn't it being added to the classpath?
Any ideas on how I can resolve this and why I am getting this error?
Is my build configuration for deploying my plugin incorrect?
Thanks,
Ernesto
|
|
|
|
Powered by
FUDForum. Page generated in 0.16207 seconds