Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » deploy plugin
deploy plugin [message #183666] Sun, 10 December 2006 16:56
Eclipse UserFriend
Originally posted by: kong5448.hotmail.com

hi,

I just completed a plugin project that extends the context popup menu with
object contribution. In my codes, I use ReourcesPlugin to retrieve file
and project etc. information. The test run from the development workbench
is okay, but when I packaged it and deployed it to the plugin folder of
Eclipse, and ran it there, I got the class loading error for:

org/eclipse/core/resources/ResourcesPlugin

Could any one advise me what's going wrong with my deployment? Thanks for
your help. I pasted the log error as following for reference:

!SESSION 2006-12-10 11:30:52.718
-----------------------------------------------
eclipse.buildId=I20050627-1435
java.version=1.5.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui 4 4 2006-12-10 11:31:22.661
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-12-10 11:31:22.671
!MESSAGE org/eclipse/core/resources/ResourcesPlugin
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/core/resources/ResourcesPlugin
at lkong.autobean.popup.actions.AutoBeanAction.run(AutoBeanActi on.java:49)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:246)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
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)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Previous Topic:Unable to view JDK source referenced in stack traces
Next Topic:workspace/projects
Goto Forum:
  


Current Time: Fri Apr 26 06:17:51 GMT 2024

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

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

Back to the top