Plugin created with GEF not working [message #216676] |
Tue, 23 May 2006 15:55 |
Eclipse User |
|
|
|
Originally posted by: inverted.gmail.com
Apologies if this is the incorrect newsgroup...
I've built an editor with GEF which works perfectly from within the
development environment. However, when I try to export it as a plugin and
then try that plugin in a fresh install of Eclipse (+ same plugins as the
development install), it doesn't work.
If I uncheck the option to "Package plug-ins as individual JAR files", then
I get the error: 'Unable to create this part due to an internal error.
Reason for the failure: The editor class could not be instantiated. This
usually indicates that the editor's class name was mistyped in plugin.xml.'
If I do check the option, then I get the following error in the .log file:
!ENTRY org.eclipse.jface 4 2 2006-05-23 16:52:40.180
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/ui/views/properties/IPropertySource
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at ...
I'm not sure why this happens, as I have org.eclipse.ui.views_3.2.0.jar in
the plug-in dependencies and the same file in the fresh install.
Does anyone have any suggestions?
Thanks,
Paresh
|
|
|
Powered by
FUDForum. Page generated in 0.03024 seconds