Error initializing multiple configuration files?

Java.lang. NoSuchMethodError usually says about version incompatibilities. Since org.springframework.beans.

MutablePropert yValues. Add(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/Muta blePropertyValues was added in Spring 3.0, you probably mixed Spring 3.0 and pre-3.0 jars.

Java.lang. NoSuchMethodError usually says about version incompatibilities. Since org.springframework.beans.

MutablePropert yValues. Add(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/Muta blePropertyValues; was added in Spring 3.0, you probably mixed Spring 3.0 and pre-3.0 jars.

Weird, my pom. Xml has all the spring jar to 3.0.0. RELEASE (is in a property).

Could this be produced by other libraries beside spring or is a spring specific conflict? My hibernate libraries are not at the same version as you can see on the pom. Xml – lurscher Jun 13 '10 at 23:05.

Your pom. Xml looks fine and there is no spring dependencies other than 3.0.0. RELEASE as shown by the dependency:tree pasted below: INFO dependency:tree {execution: default-cli} INFO com.

Mine:protoweb:war:1.0-SNAPSHOT INFO +- org. Springframework:spring-webmvc:jar:3.0.0. RELEASE:compile INFO | +- org.

Springframework:spring-asm:jar:3.0.0. RELEASE:compile INFO | +- org. Springframework:spring-beans:jar:3.0.0.

RELEASE:compile INFO | +- org. Springframework:spring-context:jar:3.0.0. RELEASE:compile INFO | | \- org.

Springframework:spring-expression:jar:3.0.0. RELEASE:compile INFO | +- org. Springframework:spring-core:jar:3.0.0.

RELEASE:compile INFO | | \- commons-logging:commons-logging:jar:1.1.1:compile INFO | \- org. Springframework:spring-web:jar:3.0.0. RELEASE:compile INFO +- org.

Springframework:spring-tx:jar:3.0.0. RELEASE:compile INFO | +- aopalliance:aopalliance:jar:1.0:compile INFO | \- org. Springframework:spring-aop:jar:3.0.0.

RELEASE:compile INFO +- org. Springframework:spring-orm:jar:3.0.0. RELEASE:compile INFO | \- org.

Springframework:spring-jdbc:jar:3.0.0. RELEASE:compile INFO +- junit:junit:jar:3.8.1:test INFO +- javax. Servlet:jstl:jar:1.1.2:compile INFO +- log4j:log4j:jar:1.2.15:compile INFO | +- javax.

Mail:mail:jar:1.4:compile INFO | | \- javax. Activation:activation:jar:1.1:compile INFO | +- javax. Jms:jms:jar:1.1:compile INFO | +- com.sun.

Jdmk:jmxtools:jar:1.2.1:compile INFO | \- com.sun. Jmx:jmxri:jar:1.2.1:compile INFO +- org. Bernate:hibernate-core:jar:3.3.2.GA:compile INFO | +- antlr:antlr:jar:2.7.6:compile INFO | +- commons-collections:commons-collections:jar:3.1:compile INFO | +- dom4j:dom4j:jar:1.6.1:compile INFO | | \- xml-apis:xml-apis:jar:1.0.

B2:compile INFO | +- javax. Transaction:jta:jar:1.1:compile INFO | \- org. Slf4j:slf4j-api:jar:1.5.8:compile INFO +- org.

Bernate:hibernate-annotations:jar:3.4.0. GA:compile INFO | \- org. Bernate:ejb3-persistence:jar:1.0.2.

GA:compile INFO +- org. Bernate:hibernate-commons-annotations:jar:3.3.0.Ga:compile INFO | +- org. Bernate:hibernate:jar:3.2.1.

Ga:compile INFO | | +- net.sf. Ehcache:ehcache:jar:1.2.3:compile INFO | | +- asm:asm-attrs:jar:1.5.3:compile INFO | | +- cglib:cglib:jar:2.1_3:compile INFO | | \- asm:asm:jar:1.5.3:compile INFO | \- javax. Persistence:persistence-api:jar:1.0:compile INFO +- org.

Bernate:hibernate-entitymanager:jar:3.4.0.GA:compile INFO | \- javassist:javassist:jar:3.4. GA:compile INFO +- c3p0:c3p0:jar:0.9.1:compile INFO +- org. Bernate:hibernate-c3p0:jar:3.3.2.GA:compile INFO \- net.sourceforge. Jtds:jtds:jar:1.2:compile However, the java.lang.

NoSuchMethodError clearly smells a classloading issue and somehow, you must have multiple spring jars somewhere. Did you change the spring version without performing a mvn clean? Or maybe in your $CATALINA_HOME/lib?

Ok I did the mvn clean and then tried again and I got some errors, I updated the post. My tomcat folder doesn't have server/lib or common/lib folders, there is a lib/ folder thought but it has annotations, catalina, jasper, jsp-api, servlet-api and a few i8n tomcat jars – lurscher Jun 13 '10 at 23:41 neither, my CATALINA_HOME is not defined – lurscher Jun 14 '10 at 0:14 @lurscher: This was just a way to designate your tomcat home. – Pascal Thivent Jun 14 '10 at 0:29 ah yes, indeed, but that lib folder only contains the following jars: annotations-api catalina catalina-ant catalina-ha catalina-tribes el-api jasper jasper-el jasper-jdt jsp-api servlet-api tomcat-coyote tomcat-dbcp tomcat-i8n-es tomcat-i8n-fr tomcat-i8n-ja – lurscher Jun 14 '10 at 12:57.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions