- This topic has 7 replies, 3 voices, and was last updated 20 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
aq333@22zMemberWhen trying to use the struts editor I get a dialog saying to check the log.
The editor fails to appear.OS=win2k
eclipse ver = 3.0.0 build 200406251208
freshly installed
extra log4e plugin 0.5.5
jdk ver 1.4.2_04this from the .log
!ENTRY org.eclipse.core.runtime 4 2 Jul 20, 2004 15:36:36.375
!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.debug.internal.ui.actions.RetargetAction.getAdapter(RetargetAction.java:140)
at org.eclipse.debug.internal.ui.actions.RetargetAction.partActivated(RetargetAction.java:135)
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.WWinPartService$1.partActivated(WWinPartService.java:27)
at org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:45)
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.PartListenerList2.firePartActivated(PartListenerList2.java:43)
at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:1372)
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:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
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)
Scott AndersonParticipantYou’ve basically got an old version of GEF installed that is being picked up instead of the GEF 3.0 Final that ME 3.8 Beta 2 ships with. Here’s another thread where we ran it down previously:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-2856-highlight-gef.html
aq333@22zMemberI do not have and GEF plugins in my eclipse directory, what then?
Riyad KallaMemberDouble check your <eclipse install dir>\plugins directory for org.eclipse.gef.*, and also check your <myeclipse install dir>\eclipse\plugins dir for the same directories. The Struts modeller basically uses GEF to do its drawing, and this exception is basically the modeller saying “Hey, I can’t find this GEF class I need”, so either you have the wrong version installed someone (exacerbated by the fact that ALL 3.0 development versions of GEF were called “3.0”) or you are missing GEF all together, which is just as bad I suppose.
aq333@22zMemberunder \myeclipse\eclipse\plugins I have an org.eclipse.gef_3.0.0
that is the only *.gef plugin on my system what is it that I am suppose to do? I don’t think that other thread seems to apply or filtering out what needs to be done from the other information?
Riyad KallaMemberYou can either uninstall MyEclipse and install 3.8 Beta 2, or apply the fix found here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-2916.html as the quickest way to fix this.
aq333@22zMemberApplying the manual fix did not work.
A fresh install of eclipse and myeclipse now produces an
error in a dialog box about not finding the .mex file. This
happenes each time I try to open the struts-config.xml file.
Riyad KallaMemberIs your struts-config.xml file not directly in your WEB-INF directory and instead in a subdir like /conf? This is a known bug that has been fixed for the next release.
If this is not the case and you are still getting the error, then ope the navigator view and erase the struts-config.mex and .struts-config.mex files if you have either, then try and open the struts-config.xml file.
-
AuthorPosts