Results 1 to 6 of 6

Thread: Spring IDE problems with Eclipse 3.1

  1. #1

    Default Spring IDE problems with Eclipse 3.1

    I'm having problems using Spring IDE with Eclipse 3.1.

    1. Eclipse 3.1 works perfectly before

    2. After I install Spring IDE updatesite_1.2.2.zip, I can tons of error dialog boxes to see the error.

    3. The error log view has tons of erros; the first one is the following:


    Problems occurred when invoking code from plug-in: "org.eclipse.jface".

    java.lang.NoClassDefFoundError: org/springframework/ide/eclipse/ui/SpringUIUtils
    at org.springframework.ide.eclipse.beans.ui.actions.S howInView.selectionChanged(ShowInView.java:74)
    at org.eclipse.ui.internal.PluginAction.refreshEnable ment(PluginAction.java:200)
    at org.eclipse.ui.internal.PluginAction.selectionChan ged(PluginAction.java:271)
    at org.eclipse.ui.internal.PluginAction.selectionChan ged(PluginAction.java:292)
    at org.eclipse.ui.internal.AbstractSelectionService.f ireSelection(AbstractSelectionService.java:156)
    at org.eclipse.ui.internal.AbstractSelectionService$1 .selectionChanged(AbstractSelectionService.java:62 )
    at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java :162)
    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.Viewer.fireSelectionChan ged(Viewer.java:160)
    at org.eclipse.jface.viewers.StructuredViewer.updateS election(StructuredViewer.java:1784)
    at org.eclipse.jface.viewers.StructuredViewer.handleS elect(StructuredViewer.java:1027)
    at org.eclipse.jface.viewers.StructuredViewer$4.widge tSelected(StructuredViewer.java:1053)
    at org.eclipse.jface.util.OpenStrategy.fireSelectionE vent(OpenStrategy.java:209)
    at org.eclipse.jface.util.OpenStrategy.access$3(OpenS trategy.java:204)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent( OpenStrategy.java:364)
    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.jface.window.Window.runEventLoop(Windo w.java:809)
    at org.eclipse.jface.window.Window.open(Window.java:7 87)
    at org.eclipse.jface.dialogs.MessageDialog.openError( MessageDialog.java:319)
    at org.eclipse.jface.util.SafeRunnable.handleExceptio n(SafeRunnable.java:59)
    at org.eclipse.core.internal.runtime.InternalPlatform .handleException(InternalPlatform.java:715)
    at org.eclipse.core.internal.runtime.InternalPlatform .run(InternalPlatform.java:1048)
    at org.eclipse.core.runtime.Platform.run(Platform.jav a:783)
    at org.eclipse.ui.internal.PartListenerList2.fireEven t(PartListenerList2.java:54)
    at org.eclipse.ui.internal.PartListenerList2.firePart Deactivated(PartListenerList2.java:111)
    at org.eclipse.ui.internal.PartService.firePartDeacti vated(PartService.java:116)
    at org.eclipse.ui.internal.PartService.setActivePart( PartService.java:165)
    at org.eclipse.ui.internal.WorkbenchPagePartList.fire ActivePartChanged(WorkbenchPagePartList.java:56)
    at org.eclipse.ui.internal.PartList.setActivePart(Par tList.java:108)
    at org.eclipse.ui.internal.WorkbenchPage.setActivePar t(WorkbenchPage.java:2859)
    at org.eclipse.ui.internal.WorkbenchPage.activate(Wor kbenchPage.java:552)
    at org.eclipse.ui.internal.WorkbenchPage.busyShowView (WorkbenchPage.java:951)
    at org.eclipse.ui.internal.WorkbenchPage.busyShowView (WorkbenchPage.java:932)
    at org.eclipse.ui.internal.WorkbenchPage.access$12(Wo rkbenchPage.java:913)
    at org.eclipse.ui.internal.WorkbenchPage$13.run(Workb enchPage.java:3148)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.showView(Wor kbenchPage.java:3145)
    at org.eclipse.ui.internal.WorkbenchPage.showView(Wor kbenchPage.java:3123)
    at org.eclipse.ui.internal.ShowViewAction.run(ShowVie wAction.java:76)
    at org.eclipse.jface.action.Action.runWithEvent(Actio n.java:996)
    at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(ActionContributionItem.java:53 8)
    at org.eclipse.jface.action.ActionContributionItem.ac cess$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5. handleEvent(ActionContributionItem.java:400)
    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(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    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)

  2. #2
    Join Date
    Aug 2004
    Location
    Frankfurt/Main, Germany
    Posts
    253

    Default Re: Spring IDE problems with Eclipse 3.1

    Quote Originally Posted by biguniverse
    2. After I install Spring IDE updatesite_1.2.2.zip, I can tons of error dialog boxes to see the error.
    What do you mean by "install Spring IDE updatesite_1.2.2.zip"? If this means you unzipped the archive into your Eclipse installation directory then you messed up your Eclipse installation :-(. Sorry about this.

    The updatesite_n.n.n.zip files are archived versions of the files available from http://springide.org/updatesite/. These archives are intended to be used with Eclipse's update manager only, e.g. for guys sitting behind a corporate firewall which prevents Eclipse's update manager from accessing Spring IDE's update site.

    I added a warning to Spring IDE's install guide.

    Cheers,
    Torsten

  3. #3

    Default

    Thanks.

    Yes, I had unzipped the update*.zip file to the eclipse install directory. However, it didn't wipe out my install, just got a bunch of errors (described above), so I exited Eclipse, deleted the Spring IDE .jar files and restarted Eclipse with no problem.

    However, I cannot find the Help > Software Updates option and it is driving me crazy; this wouldn't be related to me unzipping the Spring IDE stuff? All the Eclipse 3.1 documentation refers to Help > Software Updates so it should be there but I only see these items on the Help menu:

    - Welcome
    - Help Contents
    - Search
    - Dynamic Help
    - Key Assist
    - Tips and Tricks
    - About Eclipse SDK

  4. #4
    Join Date
    Aug 2004
    Location
    Frankfurt/Main, Germany
    Posts
    253

    Default

    Quote Originally Posted by biguniverse
    However, I cannot find the Help > Software Updates option and it is driving me crazy; this wouldn't be related to me unzipping the Spring IDE stuff?
    From which perspective did you open the Help menu? I get a similar list of Help menu items if I closed all perspectives.

    Check if the update manager plugins "org.eclipse.update.(configurator|core|scheduler|u i)" are available via Help / About Eclipse SDK / Plug-In Details.

    Maybe you should start with a fresh install of the Eclipse SDK. Btw. did you really download the Eclipse SDK and not one of the other Eclipse distributions (RCP, Platform Runtime, ...) available from the download page?

    Cheers,
    Torsten

  5. #5

    Default

    I realize other menus change with perspectives but I didn't think the Help menu would.

    Anyway, I was able to see the Software Updates on another perspective. However, I still have to re-install Eclipse.

    I now have Spring IDE working! Thanks a bunch.


    P.S. I would strong discourage you from distributing the zip file if it corrupts Eclipse. Most plugins out there simply need you to unzip the archive and it works (I've installed several plugins this way since I'm behind a firewall).

  6. #6

    Default On the contrary

    I think it's very important to have the possibility to download the update site.

    For example, I have to manage a local update site in a company so that all developpers download the same version of plugins and features.

    It's easier for me to get the update site's zip file and put it in my local update site, than to have to build a feature from a plugin.

    Anyway, you shouldn't download plugins and unzip them (though this works), but install them through an update site...

    So pleaaaaaase let's keep the update site downloadable

Similar Threads

  1. Replies: 3
    Last Post: Jul 19th, 2005, 02:02 PM
  2. eclipse 3.0.1 linux gtk Spring IDE Problems [SOLVED]
    By migra_half in forum SpringSource Tool Suite
    Replies: 2
    Last Post: Apr 26th, 2005, 10:45 AM
  3. eclipse 3.0.2 Spring IDE Problems
    By mkimber1 in forum SpringSource Tool Suite
    Replies: 5
    Last Post: Apr 21st, 2005, 11:01 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Replies: 5
    Last Post: Sep 14th, 2004, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •