Announcement Announcement Module
Collapse
No announcement yet.
Cannot load Configfiles??? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot load Configfiles???

    People I don't seem to be able to get the M3 to work properly. I get the following error message in the .log constantly when trying to add an applicationContext.xml or other spring context:

    Code:
    !SESSION 2007-04-04 22:18:43.984 -----------------------------------------------
    eclipse.buildId=M20060921-0945
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Command-line arguments:  -os win32 -ws win32 -arch x86 -data G:\java-dev\workspace
    
    !ENTRY org.eclipse.ui 4 4 2007-04-04 22:24:24.968
    !MESSAGE Unhandled event loop exception
    
    !ENTRY org.eclipse.ui 4 0 2007-04-04 22:24:24.984
    !MESSAGE org/springframework/beans/factory/support/BeanNameGenerator
    !STACK 0
    java.lang.NoClassDefFoundError: org/springframework/beans/factory/support/BeanNameGenerator
    	at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:210)
    	at org.springframework.ide.eclipse.beans.ui.properties.model.PropertiesProject.addConfig(PropertiesProject.java:81)
    	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleAddButtonPressed(ConfigFilesTab.java:331)
    	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.handleButtonPressed(ConfigFilesTab.java:278)
    	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab.access$0(ConfigFilesTab.java:276)
    	at org.springframework.ide.eclipse.beans.ui.properties.ConfigFilesTab$1.widgetSelected(ConfigFilesTab.java:103)
    	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    	at org.eclipse.jface.window.Window.open(Window.java:796)
    	at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:156)
    	at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
    	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
    	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
    	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
    	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
    	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    	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:585)
    	at org.eclipse.core.launcher.Main.invokeFramework(Main.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)
    I have updated to the latest version of spring (2.0.3) and it still is happening

    can anybody help me? I am realy interested in the WebFlow part and I cant get it to work....

    thx
    Ivo
    Last edited by IvoNet; Apr 4th, 2007, 03:24 PM.

  • #2
    fixed but...

    Ok I fixed it already. It seems that a wrong version of spring.jar is shipped with the nightly builds.

    In the plugin folder of exlipse there is a folder named org.springframework_2.0.3 and it did not contain the correct version.

    I replaced it with the one I downloaded and not it works fine

    Comment


    • #3
      If you installed a prerelease before the M3 release you would need to remove that plugin and reinstall it. In the beginning it contained the nightly builds of the Spring Framework 2.0.3.

      Comment


      • #4
        As Marten already said, you need to do a clean install of Spring IDE is you had installed previous nighties. That was communicated in the M3 release notes.

        Christian

        Comment

        Working...
        X