Results 1 to 6 of 6

Thread: Create Spring Project wizard is disabled

  1. #1
    Join Date
    Dec 2006
    Posts
    3

    Question Create Spring Project wizard is disabled

    Hi, all

    I installed Spring IDE 1.3.6 in Eclipse 3.2.1 through updatesites. Afterward, I tried to create a new Spring project by selecting New->Projects->Spring->Spring Project. Then:

    1. I clicked on the Next button in the "New Project" window but nothing happened.

    2. I clicked on the same Next button again, a "New Spring Project" window appeared, with blank space following the "Spring Project\n Create a new Spring project." title, and the "Next>", "Finish" buttons disabled.

    3. I double clicked on the disabled "Finish" button, Now the blank space was filled with "Project name:", "Use default location" elements, but the "Spring Settings" box is empty, and the "Next>", "Finish" buttons were still disabled.

    4. Then I was stuck, regardless how I changed or clicked on any of the GUI fields.

    Help please!!!

    Sean

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

    Default

    Please check Eclipse's error log (<Workspace Dir>/.metadata/.log) for any exceptions related to this issue.

    Meanwhile create a plain Java project and add the Spring project nature via the project's context menu as described here.

    Torsten

  3. #3
    Join Date
    Dec 2006
    Posts
    3

    Default

    Thanks for replying.

    The wizard returned the following exceptions in the .log file:

    ---------------------------------------------------------
    !ENTRY org.eclipse.ui 4 0 2006-12-14 13:29:33.625
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at org.springframework.ide.eclipse.beans.ui.wizards.N ewSpringProjectCreationPage.validatePage(NewSpring ProjectCreationPage.java:181)
    at org.eclipse.ui.dialogs.WizardNewProjectCreationPag e$2.reportError(WizardNewProjectCreationPage.java: 128)
    at org.eclipse.ui.internal.ide.dialogs.ProjectContent sLocationArea$3.modifyText(ProjectContentsLocation Area.java:230)
    at org.eclipse.swt.widgets.TypedListener.handleEvent( TypedListener.java:196)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:928)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:952)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:933)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.j ava:2143)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control .java:3375)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:3249)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4025)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW( Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(O S.java:1844)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.j ava:131)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:3334)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java: 1841)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4025)
    at org.eclipse.swt.internal.win32.OS.SetWindowTextW(N ative Method)
    at org.eclipse.swt.internal.win32.OS.SetWindowText(OS .java:2638)
    at org.eclipse.swt.widgets.Text.setText(Text.java:165 7)
    at org.eclipse.ui.internal.ide.dialogs.ProjectContent sLocationArea.updateProjectName(ProjectContentsLoc ationArea.java:451)
    at org.eclipse.ui.dialogs.WizardNewProjectCreationPag e.setLocationForSelection(WizardNewProjectCreation Page.java:269)
    at org.eclipse.ui.dialogs.WizardNewProjectCreationPag e$1.handleEvent(WizardNewProjectCreationPage.java: 62)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:928)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:952)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:933)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.j ava:2143)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control .java:3375)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:3249)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4025)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW( Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(O S.java:1844)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.j ava:131)
    at org.eclipse.swt.widgets.Control.windowProc(Control .java:3334)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java: 1841)
    at org.eclipse.swt.widgets.Display.windowProc(Display .java:4025)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW (Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage( OS.java:1925)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2966)
    at org.eclipse.jface.window.Window.runEventLoop(Windo w.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:7 96)
    at org.eclipse.ui.actions.NewProjectAction.run(NewPro jectAction.java:116)
    at org.eclipse.jface.action.Action.runWithEvent(Actio n.java:499)
    at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(ActionContributionItem.java:53 9)
    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:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1878)
    at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:419)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
    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:585)
    at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)

    --------------------------------

    The "Add Spring Project nature" returned the following exceptions:

    --------------------------------------------------------------
    !ENTRY org.eclipse.ui 4 0 2006-12-14 13:35:12.234
    !MESSAGE org/springframework/ide/eclipse/core/SpringCoreUtils
    !STACK 0
    java.lang.NoClassDefFoundError: org/springframework/ide/eclipse/core/SpringCoreUtils
    at org.springframework.ide.eclipse.ui.internal.action s.AddRemoveNature.run(AddRemoveNature.java:81)
    at org.eclipse.ui.internal.PluginAction.runWithEvent( PluginAction.java:254)
    at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(ActionContributionItem.java:53 9)
    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:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1878)
    at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:419)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
    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:585)
    at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)

    -------------------------------------------

  4. #4
    Join Date
    Dec 2006
    Posts
    3

    Default

    Ok, I re-installed JDK1.6.0; Eclipse; and Spring IDE. It seems to work now.

    Thanks

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

    Default

    Quote Originally Posted by seanxue View Post
    Ok, I re-installed JDK1.6.0; Eclipse; and Spring IDE. It seems to work now.
    I'm glad that Spring IDE is working for you now.

    BTW. Spring IDE wasn't tested with JDK 1.6 yet.

    Torsten

  6. #6
    Join Date
    Nov 2006
    Location
    Montreal Canada
    Posts
    67

    Default

    I have been using Java 1.6 on Windows 2000 Pro with the latet Eclipse and Spring plug-in and so far none of my problems have been related to anything except my learning curve.

    1.6 seems to work with every Java application that I have run it (from Tomcat to Compendium) with without any complaints or problems(unlike 1.4->1.5). It is my default Java for everything now.

    It does seem to be faster than 1.5.

    Ron

Posting Permissions

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