Plugins work in Runtime, but throw NoClassDefError when installed [message #182995] |
Tue, 05 December 2006 09:46  |
Eclipse User |
|
|
|
Originally posted by: fiedler.bass.web.de
Hello,
I have some plugins, which work fine in the runtime environment. I
exported them to an archive.
To test this archive, I extracted it to an empty eclipse directory,
added the .eclipseextension file and used this as an install location
for a fresh instance with its own workspace and configuration.
Everything seems to be fine: The Contributions show up in the UI and all
plugins are listed in the plugin registry.
But when I run some of the Actions of the plugins, I keep getting
NoClassDefFoundError(see below).
So I tried (from the test instance) to import the plugins in the
workspace, and again start a runtime with them -this worked! So the same
plugins to not work when included via install site, but do work in a
runtime.
The errors seem to refer to the same plugin(on which all the others
depend), this one seems not to be found. But it is there..and exporting
all classes via <export name="*"/>.
Thanks for any help.
Frank
java.lang.NoClassDefFoundError:
org/intoJ/exceptions/IntoJCalculationException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:23 28)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:157)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:242)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:238)
at
org.eclipse.ui.internal.PluginAction.createDelegate(PluginAc tion.java:120)
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08669 seconds