Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » JavaModelException class not found when deploying a plugin
JavaModelException class not found when deploying a plugin [message #189004] Wed, 08 December 2004 18:52 Go to next message
Eclipse UserFriend
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
Re: JavaModelException class not found when deploying a plugin [message #189014 is a reply to message #189004] Wed, 08 December 2004 19:52 Go to previous message
Eclipse UserFriend
Originally posted by: eemorale.cs.ucsd.edu

never mind got it
Previous Topic:How can I turn off the range indicator in the editor?
Next Topic:Equivalent of Visual Age's fix classpath command
Goto Forum:
  


Current Time: Sun Jul 13 01:21:07 EDT 2025

Powered by FUDForum. Page generated in 0.16207 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top