Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] Problem while exporting a Plugin and then adding it to eclipse

Hi friends
I am Narayan.
My project configuration includes extension to the
              1. org.eclipse.ui.actionSets    ----  to launch application from Main Menu bar
              2. org.eclipse.ui.newWizards  ----   to take input files from User
              3. org.eclipse.ui.views            ----  to present processed info
              4. org.eclipse.ui.editors          ----  to present processed info
 
With this my project runs correctly.
 
Now I am exporting this application as "Deployable Plugins and Fragments" and adding it to the Plugin folder of Eclipse installation.
 
After this i can see my Menu item into the Menu bar
However once i click on MenuItem, it is not showing the Wizard page and generating following error.....
 
 

!SESSION 2008-01-09 17:12:51.237 -----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.4.2_15
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 0 2008-01-09 17:13:01.425
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer
 at testlauncher.wizard.NewWorkflowEditor.addPages (NewWorkflowEditor.java:51)
 at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:540)
 at org.eclipse.jface.window.Window.create(Window.java:426)
 at org.eclipse.jface.dialogs.Dialog.create( Dialog.java:1081)
 at testlauncher.actions.SampleAction.run(SampleAction.java:42)
 at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
 at org.eclipse.ui.internal.WWinPluginAction.runWithEvent (WWinPluginAction.java:229)
 at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
 at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java :490)
 at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 at org.eclipse.swt.widgets.Widget.sendEvent (Widget.java:938)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
 at org.eclipse.ui.internal.Workbench.runEventLoop (Workbench.java:2389)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
 at org.eclipse.ui.internal.Workbench$4.run(Workbench.java :466)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench (PlatformUI.java:149)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java:106)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

 

As shown above It is showing some exception related with : --- "java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer"

I am not able to understand and find out any solution.

My Configuarion includes:

--- Eclipse3.3

--- Jdk1.4

 

If anyone can help me, it will be really useful. i am looking forward to receive response about Solution or any workaround.

Also if anyone knows about some Documents,Examples,samples related with Eclipse Plugin Export "Deployable Plugins and Fragments".please let me know.

 

Thanks in advance

    Narayan

 

 

 

 
 

Back to the top