Announcement Announcement Module
Collapse
No announcement yet.
Spring ide problem with eclipse Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring ide problem with eclipse

    I have installed the last eclipse, wtp and spring ide release.

    When I try to edit a xxx-servlet.xml (after "add spring project nature" and put "xxx-servlet.xml" file in project properties--> spring beans --> config files add) i get an error pop-up and the next exception in .log (inside .metada folder)....

    ************************************************** ****
    !ENTRY org.eclipse.ui.workbench 4 2 2006-01-20 14:43:40.234
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NoSuchMethodError: org.eclipse.wst.xml.ui.internal.contentoutline.JFa ceNodeAdapter.<init>(Lorg/eclipse/wst/xml/ui/internal/contentoutline/JFaceNodeAdapterFactoryV
    at org.springframework.ide.eclipse.beans.ui.editor.ou tline.BeansJFaceNodeAdapter.<init>(BeansJFaceNodeA dapter.java:35)
    at org.springframework.ide.eclipse.beans.ui.editor.ou tline.BeansJFaceNodeAdapterFactory.createAdapter(B eansJFaceNodeAdapterFactory.java:44)
    at org.eclipse.wst.sse.core.internal.provisional.Abst ractAdapterFactory.adaptNew(AbstractAdapterFactory .java:65)
    at org.eclipse.wst.sse.core.internal.provisional.Abst ractAdapterFactory.adapt(AbstractAdapterFactory.ja va:54)
    at org.eclipse.wst.xml.ui.internal.contentoutline.JFa ceNodeContentProvider.getAdapter(JFaceNodeContentP rovider.java:52)
    at org.eclipse.wst.xml.ui.internal.contentoutline.JFa ceNodeContentProvider.getElements(JFaceNodeContent Provider.java:75)
    at org.eclipse.jface.viewers.StructuredViewer.getRawC hildren(StructuredViewer.java:848)
    at org.eclipse.jface.viewers.AbstractTreeViewer.getRa wChildren(AbstractTreeViewer.java:896)
    at org.eclipse.jface.viewers.StructuredViewer.getFilt eredChildren(StructuredViewer.java:790)
    at org.eclipse.jface.viewers.StructuredViewer.getSort edChildren(StructuredViewer.java:905)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run (AbstractTreeViewer.java:512)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:69)
    at org.eclipse.jface.viewers.AbstractTreeViewer.creat eChildren(AbstractTreeViewer.java:494)
    at org.eclipse.jface.viewers.AbstractTreeViewer$5.run (AbstractTreeViewer.java:983)
    at org.eclipse.jface.viewers.StructuredViewer.preserv ingSelection(StructuredViewer.java:1201)
    at org.eclipse.jface.viewers.AbstractTreeViewer.input Changed(AbstractTreeViewer.java:973)
    at org.eclipse.jface.viewers.ContentViewer.setInput(C ontentViewer.java:248)
    at org.eclipse.jface.viewers.StructuredViewer.setInpu t(StructuredViewer.java:1417)
    at org.eclipse.wst.sse.ui.internal.contentoutline.Str ucturedTextEditorContentOutlinePage.createControl( StructuredTextEditorContentOutlinePage.java:194)
    at org.eclipse.ui.views.contentoutline.ContentOutline .doCreatePage(ContentOutline.java:133)
    at org.eclipse.ui.part.PageBookView.createPage(PageBo okView.java:315)
    at org.eclipse.ui.part.PageBookView.partActivated(Pag eBookView.java:613)
    at org.eclipse.ui.internal.PartListenerList$1.run(Par tListenerList.java:72)
    at org.eclipse.core.internal.runtime.InternalPlatform .run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.jav a:783)
    at org.eclipse.ui.internal.PartListenerList.fireEvent (PartListenerList.java:58)
    at org.eclipse.ui.internal.PartListenerList.firePartA ctivated(PartListenerList.java:70)
    at org.eclipse.ui.internal.PartService.firePartActiva ted(PartService.java:73)
    at org.eclipse.ui.internal.PartService.setActivePart( PartService.java:171)
    at org.eclipse.ui.internal.WorkbenchPagePartList.fire ActivePartChanged(WorkbenchPagePartList.java:56)
    at org.eclipse.ui.internal.PartList.setActivePart(Par tList.java:117)
    at org.eclipse.ui.internal.WorkbenchPage.setActivePar t(WorkbenchPage.java:2910)
    at org.eclipse.ui.internal.WorkbenchPage.activate(Wor kbenchPage.java:552)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit orBatched(WorkbenchPage.java:2371)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit or(WorkbenchPage.java:2295)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(Wor kbenchPage.java:2287)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(Workbe nchPage.java:2273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(W orkbenchPage.java:2268)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(W orkbenchPage.java:2249)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtili ty.openInEditor(EditorUtility.java:251)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtili ty.openInEditor(EditorUtility.java:131)
    at org.eclipse.jdt.internal.ui.actions.OpenActionUtil .open(OpenActionUtil.java:49)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenActi on.java:169)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenActi on.java:153)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction .dispatchRun(SelectionDispatchAction.java:222)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction .run(SelectionDispatchAction.java:198)
    at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerActionGroup.handleOpen(PackageExplorerActionG roup.java:296)
    at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerPart$4.open(PackageExplorerPart.java:869)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(S tructuredViewer.java:741)
    at org.eclipse.core.internal.runtime.InternalPlatform .run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.jav a:783)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil. java:44)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnab le.java:148)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpe n(StructuredViewer.java:739)
    at org.eclipse.jface.viewers.StructuredViewer.handleO pen(StructuredViewer.java:968)
    at org.eclipse.jface.viewers.StructuredViewer$6.handl eOpen(StructuredViewer.java:1067)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent( OpenStrategy.java:243)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenS trategy.java:238)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent( OpenStrategy.java:277)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3080)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2713)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Mai n.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)
    ************************************************** **

    I have updated all my plug-in and I dont know how to fix this problems.
    You could write me ass wel to my mail address ([email protected])

    Thanks in advance:
    Carlos Verdes

  • #2
    That class is in the plugin org.eclipse.wst.xml.ui. First thing is to check that this plugin is indeed installed and loaded. Do 'Help -> About Eclipse -> Plug-in details' and see if that plugin is listed.

    Comment


    • #3
      Originally posted by cverdes
      I have installed the last eclipse, wtp and spring ide release.
      Carlos,

      which version of WTP are you using? If "last" means newer than release 1.0 (the NoSuchMethodError due to a missing/different constructor in JFaceNodeAdapter is an indication for this) then Spring IDE may not work. Currently WTP provides no official and stable API. So Spring IDE is compiled against a specific version of WTP.

      Torsten

      Comment


      • #4
        thanks

        Ok, It was my fault heheh, I had an earlier version of WTP, thanks to all and sorry for taking your time

        Comment

        Working...
        X