Topic
2 replies Latest Post - ‏2012-02-24T04:03:25Z by Shawn_Jiang
Eldastoker
Eldastoker
1 Post
ACCEPTED ANSWER

Pinned topic Missing dependency: org.springframework/spring-beans/2.0.5

‏2012-02-08T09:39:08Z |
Hey all,

I'm totally new in WebSphere but I have to add an existing *.war to a completly new installation of WebSphere.

There is used Spring in the war and the war runs also on an old Version of WebSphere with no problems. But now I try to install the war in the new installation and i got an error that means:

DependencyManager Could not install bundle dependency
org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: org.springframework/spring-beans/2.0.5/
...
...
...

Hopefully you can tell me, what the problem is.

Best regards,

Dorian
Updated on 2012-02-24T04:03:25Z at 2012-02-24T04:03:25Z by Shawn_Jiang
  • U4UE_xie_zhi
    U4UE_xie_zhi
    54 Posts
    ACCEPTED ANSWER

    Re: Missing dependency: org.springframework/spring-beans/2.0.5

    ‏2012-02-09T01:15:02Z  in response to Eldastoker
    could you provide the war file and the development enviroment information, such as OS version, WAS CE version and Greronimo version, and so on.
  • Shawn_Jiang
    Shawn_Jiang
    154 Posts
    ACCEPTED ANSWER

    Re: Missing dependency: org.springframework/spring-beans/2.0.5

    ‏2012-02-24T04:03:25Z  in response to Eldastoker
    Please help to check if there's any file under

    WASCE_HOME\repository\org\springframework\spring-beans

    If there's files, you might need to correct your geronimo-web.xml in your application to correct the spring dependencies version from 2.0.5 to what you found in the directory.

    If there's no files in the directory, I guess you are using CE v 3.0.0.0 and you'll have to bundle your own spring*.jar in your WAR/WEB-INF/lib and then remove the corresponding dependencies from your geronimo deployment plan.

    Hope it helps.