NoClassDefFoundError in packaged plugin [message #294759] |
Thu, 17 November 2005 10:31  |
Eclipse User |
|
|
|
hi,
I have developed a plugin which works fine when i run it on the runtime
workbench but when I have packaged it and deployed it on eclipse, and when
I activate a control thats supposed to open up a ContainerSelectionDialog,
I get a NoClassDefFoundError, The stack trace is as follows,
java.lang.NoClassDefFoundError:
org/eclipse/ui/dialogs/ContainerSelectionDialog
at
com.vijai.matrix.plugin.ui.Views.ExistingFileView.displayJPO Program(ExistingFileView.java:388)
at
com.vijai.matrix.plugin.ui.Views.ExistingFileView.handleDoub leClick(ExistingFileView.java:295)
at
com.vijai.matrix.plugin.ui.Views.ExistingFileView.access$3(E xistingFileView.java:293)
at
com.vijai.matrix.plugin.ui.Views.ExistingFileView$5.mouseDou bleClick(ExistingFileView.java:208)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:141)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
Is there someway I can resolve it
Vijai
|
|
|
|
|
|
Re: NoClassDefFoundError in packaged plugin [message #294823 is a reply to message #294759] |
Fri, 18 November 2005 04:30  |
Eclipse User |
|
|
|
I vaguely remember that your described problem occured in cases,
when export was done. Please try the following: Before doing your export
go into your filesystem and delete manually **all** files from the
configuration directory, where you want to export in! There exist cases
where the export process does not completely clean the target directory.
Hope that helps,
Daniel Krügler
|
|
|
Powered by
FUDForum. Page generated in 0.25002 seconds