Hi,
I am getting the below exception.
16:43:53,651 WARN [org.jboss.modules] (MSC service thread 1-1)
Failed to define class org.springframework.beans.factory.support.AbstractBeanDefinitionReader in Module
"deployment.fows.war:main" from Service Modul
Caused by: java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapable
I did the workaround.This class is avilable in spring-core-3.1.0.RELEASE.jar.If i try to add this jar file in my war file lib folder.I am able to resolve this exception.
But after that if i start the JBOSS 7.1.1 Final server,then i am getting the below exception.
16:54:36,452 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-4)
Context initialization failed: java.lang.NoSuchMethodError:
org.springframework.core.convert.converter.ConverterRegistry.addConverter
(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
I did the workaround.This class is avilable in org.springframework.core-3.0.3.RELEASE.jar.I have added this jar file spring-core-3.1.0.RELEASE.jar deleted the in my war file lib folder.
But after that if i start the JBOSS 7.1.1 Final server,then i am able to resolve the above exception,but still this problem was there(
Caused by: java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapable).
Workaround2: But if i have added both jar's in war lib folder,i am able to resove the
Caused by: java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapable
But i am unable to resolve the
org.springframework.core.convert.converter.ConverterRegistry.addConverter
(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
Could you please suggest me any workaround/solution to reolve this problem.
Thanks,
Poorna
Show a "jar -tf" output of the WAR so we are on the same page on which versions of the spring libs actually gets deployed.