Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Activator not found after product export(Class not found exception ONLY after export)
Activator not found after product export [message #793188] Tue, 07 February 2012 16:32 Go to next message
Eclipse UserFriend
Hi,
I wrote 4 plug-ins, one of them defining the product, one library plug-in and two plug-ins providing functionality including a perspective. During development I tested via "start rcp" directly from workbench. So far, everything worked.
Now I exported the product for the first time realizing that one plug-in could not be activated due to a class not found exception. I checked the plug-in jar and found the binary as expected. I checked my plugin.xml and build.properties but could not find anything weired.
As the perspective of that plug-in is being offered I think the plug-in itself was found. How come the Activator could not be called?

Does anybody have an idea what else I could do to find the error?

thank you.
mirco
Re: Activator not found after product export [message #824958 is a reply to message #793188] Tue, 20 March 2012 05:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi
Usually 'Activator not found' error occurs when there is some problem with the Manifest file of the Activator Plugin
Make sure all the values in the Manifest file are correct , and ensure the Bundle-Classpath (if used) refers to the exact path of the libraries used.
Re: Activator not found after product export [message #825041 is a reply to message #824958] Tue, 20 March 2012 07:41 Go to previous message
Eclipse UserFriend
Hi,
we had this problem in the beginning as well. In our cases it always turned out that the "." was not part of the classpath.
So in the MANIFEST.MF you should at least have:

Bundle-ClassPath: .
Previous Topic:[SOLVED] Enable Keybinding only when menu visible
Next Topic:Updating treeviewer from editor
Goto Forum:
  


Current Time: Fri Jul 04 07:36:12 EDT 2025

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

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

Back to the top