facebook

3.8 beta 2: GEF Compatibility [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #209760 Reply

    I have an existing Struts 1.1 project, all set up for use with MyEclipse. When I try to open a struts configuration file using MyEclipse Struts editor, I’m told an error has occurred and I should check the log. The log, in summary, shows:

    java.lang.NoClassDefFoundError: org/eclipse/gef/ui/parts/GraphicalEditorWithPalette

    (Full log at the end of this message).

    Platform: Mac OS 10.3

    Eclipse: Version: 3.0.0
    Build id: 200406251208

    java -version
    java version “1.4.2_03”
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1)
    Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode)

    – Richard

    !ENTRY org.eclipse.core.runtime 4 2 Jul 13, 2004 10:37:28.240
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NoClassDefFoundError: org/eclipse/gef/ui/parts/GraphicalEditorWithPalette
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:298)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClassLoader.java:223)
    at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultClassLoader.findClassImpl(DefaultClassLoader.java:281)
    at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultClassLoader.findClass(DefaultClassLoader.java:172)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.findLocalClass(AbstractClassLoader.java:220)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLocalClass(EclipseClassLoader.java:135)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:59)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:371)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:93)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.createFlowModeler(Unknown Source)
    at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.getAdapter(Unknown Source)
    at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:120)
    at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:310)
    at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:591)
    at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:49)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:47)
    at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:1371)
    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2695)
    at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:457)
    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1021)
    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:960)
    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:95)
    at org.eclipse.ui.internal.PartStack.close(PartStack.java:339)
    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:208)
    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:74)
    at org.eclipse.ui.internal.presentations.DefaultPartPresentation$1.closeButtonPressed(DefaultPartPresentation.java:107)
    at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:484)
    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:169)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2075)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:291)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2865)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2535)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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.core.launcher.Main.basicRun(Main.java:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)[/code]

    #209998 Reply

    Scott Anderson
    Participant

    d6y,

    You’ve got an older version of GEF installed somewhere in your <eclipse>/plugins directory. We ran down this same problem earlier here:
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-2874.html

    #210036 Reply

    Thanks for the quick reply. I removed my copy of eclipse and myeclipse and reinstalled them both. This seems to have solved the problem. Interestingly (?) I copied back the two extra plugins I use, and these both worked without a problem.

    Thanks again
    Richard

    #210059 Reply

    Scott Anderson
    Participant

    No problem at all. Glad you’re up and running.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: 3.8 beta 2: GEF Compatibility [Closed]

You must be logged in to post in the forum log in