| Class not found exception when loading plugin [message #436357] |
Wed, 07 September 2005 06:12  |
Eclipse User |
|
|
|
Originally posted by: morincer.gmail.com
I've got RCP project in Eclipse which includes another project as
plug-in (in Debug->Plug-ins-><checkbox>). When I run my RCP app and
try to call createExecutableExtension(CLASS_ATTRIBUTE) it throws
ClassNotFound exception. I've checked the class attribute of the
plugin.xml - it's valid. Any help would be appreciated
Regards,
Andrei Makarov
|
|
|
| Re: Class not found exception when loading plugin [message #436433 is a reply to message #436357] |
Thu, 08 September 2005 08:21  |
Eclipse User |
|
|
|
First, have a look to see if the plugin is loaded. (If you've got selected 'run with all workbench plugins loaded' in the launch config, you probably do.) You should be able to check whether it's loaded by going to the 'About' mentu and looking for deployed plugins, on the assumption that your RCP app loads these.
If it's loaded but it still can't find the classes, the usual suspects are the plugin.xml (for Eclipse 2.1 and migrated projects to Eclipse 3.0) and the Manifest.MF (for E clipse 3.0+) to see if they mention the plugin (aka Bundle) explicitly by name. If not, you could try removing them and adding them again -- but using the PDE editor, not editing the source directly, as that way it will add them into the appropriate places.
|
|
|
Powered by
FUDForum. Page generated in 0.03461 seconds