Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » NoClassDefFoundError in packaged plugin
NoClassDefFoundError in packaged plugin [message #294759] Thu, 17 November 2005 10:31 Go to next message
Eclipse UserFriend
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 #294791 is a reply to message #294759] Thu, 17 November 2005 18:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Does you plugin have org.eclipse.ui.dialogs as a required bundle in the
MANIFEST?

--
Thanks,
Rich Kulp
Re: NoClassDefFoundError in packaged plugin [message #294804 is a reply to message #294791] Thu, 17 November 2005 20:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: greatkit.gmail.com

Rich Kulp wrote:

> Does you plugin have org.eclipse.ui.dialogs as a required bundle in the
> MANIFEST?

I met a similar situation, and I DO add <requires> : When I'm trying to
patch someone's plugin(not known the author), I added <import
plugin="org.eclipse.core.resources"/> on its manifest to use
ResourcesPlugin, but it does not work.(NoClassDefFoundError:
ResourcesPlugin... when acvitated it on runtime workbench)

What's wrong with it?
Re: NoClassDefFoundError in packaged plugin [message #294821 is a reply to message #294791] Fri, 18 November 2005 03:38 Go to previous messageGo to next message
Eclipse UserFriend
Rich Kulp wrote:

> Does you plugin have org.eclipse.ui.dialogs as a required bundle in the
> MANIFEST?

hi,

yes it has the org.eclipse.ui.dialogs in the required bundle of the
MANIFEST.MF.

Vijai
Re: NoClassDefFoundError in packaged plugin [message #294823 is a reply to message #294759] Fri, 18 November 2005 04:30 Go to previous message
Eclipse UserFriend
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
Previous Topic:Problems with content assist
Next Topic:Another question re: Resources, Projects, and Files
Goto Forum:
  


Current Time: Sun Jul 27 07:24:51 EDT 2025

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

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

Back to the top