Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Class not found exception when loading plugin
Class not found exception when loading plugin [message #436357] Wed, 07 September 2005 10:12 Go to next message
Eclipse UserFriend
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 12:21 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
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.
Previous Topic:short cut key for saving the project is not working(ctrl+s)
Next Topic:How to make independent plugins ?
Goto Forum:
  


Current Time: Sat Dec 07 14:46:51 GMT 2024

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

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

Back to the top