Running a Plugin With External Jars [message #108980] |
Fri, 08 August 2003 11:13  |
Eclipse User |
|
|
|
I have written a plugin that has external dependencies. When I run the
runtime workbench and try to open the view, i get the following error:
ava.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:15 90)
at java.lang.Class.getConstructor0(Class.java:1762)
at java.lang.Class.newInstance0(Class.java:276)
at java.lang.Class.newInstance(Class.java:259)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension(PluginDescriptor.java:138)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension(PluginDescriptor.java:167)
at
org.eclipse.core.internal.plugins.ConfigurationElement.creat eExecutableExtension(ConfigurationElement.java:103)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:158)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:155)
at
org.eclipse.ui.internal.registry.ViewDescriptor.createView(V iewDescriptor.java:51)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:1 15)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFact ory.java:98)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:8 2)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory. java:78)
at org.eclipse.ui.internal.Perspective.showView(Perspective.jav a:1465)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:655)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage .java:634)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.j ava:2777)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:2774)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:2764)
at org.eclipse.ui.internal.ShowViewMenu.showOther(ShowViewMenu. java:175)
at org.eclipse.ui.internal.ShowViewMenu.access$2(ShowViewMenu.j ava:161)
at org.eclipse.ui.internal.ShowViewMenu$2.run(ShowViewMenu.java :48)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:456)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Event(ActionContributionItem.java:403)
at
org.eclipse.jface.action.ActionContributionItem.access$0(Act ionContributionItem.java:397)
at
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:923)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1641)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1433)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
I added the jars to the "Source" tab of te run dialog. Am I missing
something?
Thanks
Marc Boorshtein
Octet String
|
|
|
|
Powered by
FUDForum. Page generated in 0.04214 seconds