Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Cannot load eclipse.ui class when running plugin
Cannot load eclipse.ui class when running plugin [message #282977] Thu, 24 March 2005 09:12 Go to next message
Eclipse UserFriend
I have a plugin that uses the class org.eclipse.ui.part.DrillDownAdapter. In the PDE environment the class is found ok, and everything compiles. However when I run as an eclipse application, I get ClassNotFound exception for this class.

I have tried included only the required plugins and including all plugins in the run Plug-ins tab. The Target Platform is setup against a pristine 3.1M5a with all plugins included. Is there some other magic required to make eclipse classes available to the plugin at runtime?

thanks!
Re: Cannot load eclipse.ui class when running plugin [message #282981 is a reply to message #282977] Thu, 24 March 2005 09:17 Go to previous messageGo to next message
Eclipse UserFriend
I found this particular problem.

In MANIFEST.MF, Require-Bundle: did not include org.eclipse.ui.workbench.

This plugin was however included in the plugin.xml dependencies. What is the relationship between these two? Why the duplication?

-barry
Re: Cannot load eclipse.ui class when running plugin [message #283006 is a reply to message #282981] Thu, 24 March 2005 11:12 Go to previous message
Eclipse UserFriend
Barry Kaplan wrote:
> I found this particular problem.
>
> In MANIFEST.MF, Require-Bundle: did not include org.eclipse.ui.workbench.
>
> This plugin was however included in the plugin.xml dependencies. What is
> the relationship between these two? Why the duplication?

Well, I had to delete and reimport the plugin projects. After adding back the above, I'm still getting class-not-founds for classes in workbench.jar. So clearly I'm not understanding something.

Any pointers would be much appreciated.
Previous Topic:How to remove a preference entry?
Next Topic:What's the best way to configure external libraries that you will use in multiple projects?
Goto Forum:
  


Current Time: Fri Sep 12 15:25:46 EDT 2025

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

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

Back to the top