spring - java.lang.NoSuchMethodError: org.springframework.web.context.ConfigurableWebApplicationContext.setId(Ljava/lang/String;)V -
below pom.xml of spring batch project , below exception if deploy in jboss 5 , same war works fine if deploy in local windows machine. suspect there conflict in jar respect org.springframework:spring-context:jar:2.5.6
.
even tried excluding spring core jar in spring batch dependency, couldn't resolve can in advance.is there way exclude spring-context:jar:2.5.6
error trace java.lang.nosuchmethoderror: org.springframework.web.context.configurablewebapplicationcontext.setid(ljava/lang/string;)v @ org.springframework.web.context.contextloader.configureandrefreshwebapplicationcontext(contextloader.java:369) @ org.springframework.web.context.contextloader.initwebapplicationcontext(contextloader.java:284) @ org.springframework.web.context.contextloaderlistener.contextinitialized(contextloaderlistener.java:111) @ org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:3910) @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4389) @ org.jboss.web.tomcat.service.deployers.tomcatdeployment.performdeployinternal(tomcatdeployment.java:313) @ org.jboss.web.tomcat.service.deployers.tomcatdeployment.performdeploy(tomcatdeployment.java:145) @ org.jboss.web.deployers.abstractwardeployment.start(abstractwardeployment.java:461) @ org.jboss.web.deployers.webmodule.startmodule(webmodule.java:122) @ org.jboss.web.deployers.webmodule.start(webmodule.java:97) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.jboss.mx.interceptor.reflecteddispatcher.invoke(reflecteddispatcher.java:157) @ org.jboss.mx.server.invocation.dispatch(invocation.java:96) @ org.jboss.mx.server.invocation.invoke(invocation.java:88) @ org.jboss.mx.server.abstractmbeaninvoker.invoke(abstractmbeaninvoker.java:264) @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:668) @ org.jboss.system.microcontainer.serviceproxy.invoke(serviceproxy.java:206)
mvn dependency:tree
+- org.springframework:spring-context:jar:2.5.6:compile | \- org.springframework:spring-expression:jar:3.1.1.release:compile +- org.springframework:spring-context-support:jar:3.1.1.release:compile +- org.springframework:spring-beans:jar:2.5.6:compile +- org.springframework:spring-core:jar:2.5.6:compile +- org.springframework:spring-jdbc:jar:3.0.5.release:compile +- org.springframework:spring-tx:jar:2.5.6:compile +- org.springframework:spring-aop:jar:3.1.1.release:compile +- org.springframework:spring-asm:jar:3.1.1.release:compile +- org.springframework:spring-aspects:jar:3.1.1.release:compile +- org.springframework:spring-jms:jar:3.1.1.release:compile +- org.springframework:spring-orm:jar:3.1.0.rc2:compile +- org.springframework:spring-oxm:jar:3.1.1.release:compile | \- commons-lang:commons-lang:jar:2.5:compile +- org.springframework:spring-web:jar:3.1.0.rc2:compile +- org.springframework:spring-webmvc:jar:3.0.5.release:compile +- org.springframework:org.springframework.web.servlet:jar:3.1.1.release:compile | +- org.springframework:org.springframework.beans:jar:3.1.1.release:compile | | \- org.springframework:org.springframework.asm:jar:3.1.1.release:compile | +- org.springframework:org.springframework.context:jar:3.1.1.release:compile | | \- org.springframework:org.springframework.aop:jar:3.1.1.release:compile | +- org.springframework:org.springframework.context.support:jar:3.1.1.release:compile | +- org.springframework:org.springframework.core:jar:3.1.1.release:compile | +- org.springframework:org.springframework.expression:jar:3.1.1.release:compile | \- org.springframework:org.springframework.web:jar:3.1.1.release:compile | \- org.aopalliance:com.springsource.org.aopalliance:jar:1.0.0:compile +- org.springframework:spring-struts:jar:3.1.1.release:compile | +- struts:struts:jar:1.2.9:compile | | +- commons-digester:commons-digester:jar:1.6:compile | | | \- xml-apis:xml-apis:jar:1.0.b2:compile | | +- commons-validator:commons-validator:jar:1.1.4:compile | | +- oro:oro:jar:2.0.7:compile | | \- xalan:xalan:jar:2.5.1:compile | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile +- org.springframework:spring-webmvc-portlet:jar:3.1.1.release:compile +- org.springframework:spring-instrument:jar:3.1.1.release:compile +- org.springframework:spring-instrument-tomcat:jar:3.1.1.release:compile +- org.springframework:spring-test:jar:3.1.1.release:compile +- commons-logging:commons-logging:jar:1.1.1:compile +- org.slf4j:jcl-over-slf4j:jar:1.5.10:compile +- log4j:log4j:jar:1.2.15:compile | +- javax.mail:mail:jar:1.4:compile | +- com.sun.jdmk:jmxtools:jar:1.2.1:compile | \- com.sun.jmx:jmxri:jar:1.2.1:compile +- org.slf4j:slf4j-api:jar:1.5.10:compile +- org.slf4j:slf4j-log4j12:jar:1.5.10:compile +- net.sf.ehcache:ehcache-core:jar:2.3.0:compile +- org.freemarker:freemarker:jar:2.3.15:compile +- aopalliance:aopalliance:jar:1.0:compile +- aspectj:aspectjweaver:jar:1.5.2:compile +- cglib:cglib-nodep:jar:2.1_3:compile +- org.codehaus.jettison:jettison:jar:1.3:compile | \- stax:stax-api:jar:1.0.1:compile +- com.thoughtworks.xstream:xstream:jar:1.3:compile | \- xpp3:xpp3_min:jar:1.1.4c:compile +- junit:junit:jar:4.0:compile +- commons-dbcp:commons-dbcp:jar:1.4:compile +- commons-codec:commons-codec:jar:1.6:compile +- commons-pool:commons-pool:jar:1.6:compile +- commons-fileupload:commons-fileupload:jar:1.2.1:compile +- commons-io:commons-io:jar:1.4:compile +- antlr:antlr:jar:2.7.7:compile +- dom4j:dom4j:jar:1.6.1:compile +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.final:compile +- org.hibernate:hibernate-core:jar:4.1.4.final:compile +- org.hibernate:hibernate-entitymanager:jar:4.1.4.final:compile +- org.hibernate:hibernate-envers:jar:4.1.4.final:compile +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.final:compile +- org.javassist:javassist:jar:3.15.0-ga:compile +- org.jboss.logging:jboss-logging:jar:3.1.0.ga:compile +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.final:compile +- com.oracle:ojdbc5:jar:11.2.0.2.0:compile +- org.skywaysoftware:skyway-spring-utils:jar:7.1.3:compile | +- javax.persistence:persistence-api:jar:1.0.2:compile | +- javax.servlet:servlet-api:jar:2.4:compile | +- org.apache.cxf:cxf-bundle-minimal:jar:2.1.9:compile | | +- org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.1.1:compile | | +- javax.xml.bind:jaxb-api:jar:2.1:compile | | +- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile | | +- wsdl4j:wsdl4j:jar:1.6.2:compile | | +- xml-resolver:xml-resolver:jar:1.2:compile | | +- org.apache.ws.commons.schema:xmlschema:jar:1.4.5:compile | | +- org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2:compile | | +- org.codehaus.woodstox:wstx-asl:jar:3.2.9:compile | | +- org.apache.neethi:neethi:jar:2.0.4:compile | | +- com.sun.xml.bind:jaxb-impl:jar:2.1.9:compile | | +- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.3:compile | | +- org.mortbay.jetty:jetty:jar:6.1.21:compile | | +- org.mortbay.jetty:jetty-util:jar:6.1.21:compile | | +- org.apache.geronimo.specs:geronimo-servlet_2.5_spec:jar:1.2:compile | | +- org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1:compile | | +- javax.xml.soap:saaj-api:jar:1.3:compile | | +- jdom:jdom:jar:1.0:compile | | +- jaxen:jaxen:jar:1.1:compile | | +- com.sun.xml.bind:jaxb-xjc:jar:2.1.9:compile | | +- org.apache.geronimo.specs:geronimo-jaxws_2.1_spec:jar:1.0:compile | | +- org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar:1.1.2:compile | | +- asm:asm:jar:2.2.3:compile | | +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.2:compile | | +- org.apache.xmlbeans:xmlbeans:jar:2.4.0:compile | | +- org.apache.santuario:xmlsec:jar:1.4.3:compile | | +- xalan:serializer:jar:2.7.1:compile | | \- org.bouncycastle:bcprov-jdk15:jar:1.43:runtime | +- org.apache.ws.security:wss4j:jar:1.5.8:compile | +- org.springframework.security:spring-security-core:jar:2.0.4:compile | | \- org.springframework:spring-support:jar:2.0.8:runtime | \- org.springframework.webflow:spring-binding:jar:2.4.0.m1:compile | \- opensymphony:ognl:jar:2.6.11:compile +- com.ibm.mq.commonservices:com.ibm.mq.commonservices:jar:7.0.1.3:compile +- com.ibm.mq:dhbcore:jar:7.0.1.9:compile +- javax.resource:connector:jar:1.0:compile +- com.ibm.mq.headers:com.ibm.mq.headers:jar:7.0.1.3:compile +- com.ibm.mq:com.ibm.mq:jar:7.0.1.9:compile +- com.ibm.mq:com.ibm.mq.jmqi:jar:7.0.1.9:compile +- com.ibm.mq:com.ibm.mqjms:jar:7.0.1.9:compile +- com.sun.messaging.mq:fscontext:jar:4.4.2:compile +- javax.jms:jms:jar:1.1:compile +- simple-jndi:simple-jndi:jar:0.11.4.1:compile +- javax.transaction:jta:pom:1.0.1b:compile +- com.sun.jndi:providerutil:pom:1.2:compile +- org.springframework.batch:spring-batch-core:jar:2.1.8.release:compile +- org.springframework.batch:spring-batch-infrastructure:jar:2.1.8.release:compile +- org.springframework.batch:spring-batch-integration:jar:1.2.1.release:compile +- org.springframework.batch:spring-batch-admin-resources:jar:1.2.1.release:compile | \- commons-collections:commons-collections:jar:3.2:compile +- org.springframework.batch:spring-batch-admin-manager:jar:1.2.1.release:compile | \- org.aspectj:aspectjrt:jar:1.6.6:compile +- org.springframework.integration:spring-integration-core:jar:2.0.3.release:compile +- org.springframework.integration:spring-integration-file:jar:2.0.3.release:compile +- org.springframework.integration:spring-integration-jmx:jar:2.0.3.release:compile | \- org.aspectj:aspectjweaver:jar:1.6.6:compile +- org.springframework.integration:spring-integration-http:jar:2.0.3.release:compile +- org.jboss.resteasy:resteasy-jaxrs:jar:2.2.1.ga:compile | +- org.jboss.resteasy:jaxrs-api:jar:2.2.1.ga:compile | +- org.scannotation:scannotation:jar:1.0.3:compile | | \- javassist:javassist:jar:3.12.1.ga:compile | +- javax.annotation:jsr250-api:jar:1.0:compile | +- javax.activation:activation:jar:1.1:compile | +- commons-httpclient:commons-httpclient:jar:3.1:compile | +- org.apache.httpcomponents:httpclient:jar:4.0.3:compile | | \- org.apache.httpcomponents:httpcore:jar:4.0.1:compile | \- net.jcip:jcip-annotations:jar:1.0:compile \- org.jboss.resteasy:resteasy-jackson-provider:jar:2.2.1.ga:compile +- org.codehaus.jackson:jackson-core-asl:jar:1.6.3:compile +- org.codehaus.jackson:jackson-mapper-asl:jar:1.6.3:compile +- org.codehaus.jackson:jackson-jaxrs:jar:1.6.3:compile \- org.codehaus.jackson:jackson-xc:jar:1.6.3:compile <project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelversion>4.0.0</modelversion> <groupid>com.mycomp.pil</groupid> <artifactid>myproject</artifactid> <version>1.0.0-snapshot</version> <packaging>jar</packaging> <name>pil: myproject</name> <properties> <spring.framework.version>3.1.1.release</spring.framework.version> <spring.integration.version>2.0.3.release</spring.integration.version> <spring.batch.core>2.1.8.release</spring.batch.core> <spring.batch.admin>1.2.1.release</spring.batch.admin> <hibernate.core.version>4.1.4.final</hibernate.core.version> <jboss.resteasy.version>2.2.1.ga</jboss.resteasy.version> </properties> <dependencies> <!-- spring core --> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-context</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-context-support</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-beans</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-core</artifactid> <version>${spring.framework.version}</version> <exclusions> <exclusion> <groupid>commons-logging</groupid> <artifactid>commons-logging</artifactid> </exclusion> </exclusions> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-jdbc</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-tx</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-aop</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-asm</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-aspects</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-jdbc</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-jms</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-orm</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-oxm</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-web</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-webmvc</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-tx</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>org.springframework.web.servlet</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-struts</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-webmvc-portlet</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-instrument</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-instrument-tomcat</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework.webflow</groupid> <artifactid>spring-js</artifactid> <version>2.3.0.release</version> </dependency> <dependency> <groupid>org.springframework.webflow</groupid> <artifactid>spring-js-resources</artifactid> <version>2.3.0.release</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-test</artifactid> <version>${spring.framework.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-instrument-tomcat</artifactid> <version>${spring.framework.version}</version> </dependency> <!-- logging --> <dependency> <groupid>commons-logging</groupid> <artifactid>commons-logging</artifactid> <version>1.1.1</version> </dependency> <dependency> <groupid>org.slf4j</groupid> <artifactid>jcl-over-slf4j</artifactid> <version>1.5.10</version> </dependency> <dependency> <groupid>log4j</groupid> <artifactid>log4j</artifactid> <version>1.2.15</version> </dependency> <dependency> <groupid>org.slf4j</groupid> <artifactid>slf4j-api</artifactid> <version>1.5.10</version> </dependency> <dependency> <groupid>org.slf4j</groupid> <artifactid>slf4j-log4j12</artifactid> <version>1.5.10</version> <scope>compile</scope> </dependency> <!-- commons --> <dependency> <groupid>net.sf.ehcache</groupid> <artifactid>ehcache-core</artifactid> <version>2.3.0</version> </dependency> <dependency> <groupid>org.freemarker</groupid> <artifactid>freemarker</artifactid> <version>2.3.15</version> </dependency> <dependency> <groupid>aopalliance</groupid> <artifactid>aopalliance</artifactid> <version>1.0</version> </dependency> <dependency> <groupid>aspectj</groupid> <artifactid>aspectjweaver</artifactid> <version>1.5.2</version> </dependency> <dependency> <groupid>cglib</groupid> <artifactid>cglib-nodep</artifactid> <version>2.1_3</version> </dependency> <dependency> <groupid>org.codehaus.jettison</groupid> <artifactid>jettison</artifactid> <version>1.3</version> </dependency> <dependency> <groupid>com.thoughtworks.xstream</groupid> <artifactid>xstream</artifactid> <version>1.3</version> </dependency> <dependency> <groupid>junit</groupid> <artifactid>junit</artifactid> <version>4.0</version> </dependency> <!-- apache commons --> <dependency> <groupid>commons-dbcp</groupid> <artifactid>commons-dbcp</artifactid> <version>1.4</version> </dependency> <dependency> <groupid>commons-codec</groupid> <artifactid>commons-codec</artifactid> <version>1.6</version> </dependency> <dependency> <groupid>commons-pool</groupid> <artifactid>commons-pool</artifactid> <version>1.6</version> </dependency> <dependency> <groupid>commons-fileupload</groupid> <artifactid>commons-fileupload</artifactid> <version>1.2.1</version> </dependency> <dependency> <groupid>commons-io</groupid> <artifactid>commons-io</artifactid> <version>1.4</version> </dependency> <!-- hibernate dependancies --> <dependency> <groupid>antlr</groupid> <artifactid>antlr</artifactid> <version>2.7.7</version> </dependency> <dependency> <groupid>dom4j</groupid> <artifactid>dom4j</artifactid> <version>1.6.1</version> <exclusions> <exclusion> <groupid>xml-apis</groupid> <artifactid>xml-apis</artifactid> </exclusion> </exclusions> </dependency> <dependency> <groupid>org.hibernate.common</groupid> <artifactid>hibernate-commons-annotations</artifactid> <version>4.0.1.final</version> </dependency> <dependency> <groupid>org.hibernate</groupid> <artifactid>hibernate-core</artifactid> <version>${hibernate.core.version}</version> </dependency> <dependency> <groupid>org.hibernate</groupid> <artifactid>hibernate-entitymanager</artifactid> <version>${hibernate.core.version}</version> </dependency> <dependency> <groupid>org.hibernate</groupid> <artifactid>hibernate-envers</artifactid> <version>${hibernate.core.version}</version> </dependency> <dependency> <groupid>org.hibernate.javax.persistence</groupid> <artifactid>hibernate-jpa-2.0-api</artifactid> <version>1.0.1.final</version> </dependency> <dependency> <groupid>org.javassist</groupid> <artifactid>javassist</artifactid> <version>3.15.0-ga</version> </dependency> <dependency> <groupid>org.jboss.logging</groupid> <artifactid>jboss-logging</artifactid> <version>3.1.0.ga</version> </dependency> <dependency> <groupid>org.jboss.spec.javax.transaction</groupid> <artifactid>jboss-transaction-api_1.1_spec</artifactid> <version>1.0.0.final</version> </dependency> <!-- ojdbc --> <dependency> <groupid>com.oracle</groupid> <artifactid>ojdbc5</artifactid> <version>11.2.0.2.0</version> </dependency> <dependency> <groupid>org.skywaysoftware</groupid> <artifactid>skyway-spring-utils</artifactid> <version>7.1.3</version> <exclusions> <exclusion> <groupid>org.slf4j</groupid> <artifactid>slf4j-jdk14</artifactid> </exclusion> </exclusions> </dependency> <!-- mq --> <dependency> <groupid>com.ibm.mq.commonservices</groupid> <artifactid>com.ibm.mq.commonservices</artifactid> <version>7.0.1.3</version> </dependency> <dependency> <groupid>com.ibm.mq</groupid> <artifactid>dhbcore</artifactid> <version>7.0.1.9</version> </dependency> <!-- <dependency> <groupid>com.ibm.mq.connector</groupid> <artifactid>connector</artifactid> <version>7.0.1.3</version> </dependency> <dependency> <groupid>com.ibm.mq</groupid> <artifactid>dhbcore</artifactid> <version>7.0.1.3</version> </dependency> --> <dependency> <groupid>javax.resource</groupid> <artifactid>connector</artifactid> <version>1.0</version> </dependency> <dependency> <groupid>com.ibm.mq.headers</groupid> <artifactid>com.ibm.mq.headers</artifactid> <version>7.0.1.3</version> </dependency> <dependency> <groupid>com.ibm.mq</groupid> <artifactid>com.ibm.mq</artifactid> <version>7.0.1.9</version> </dependency> <dependency> <groupid>com.ibm.mq</groupid> <artifactid>com.ibm.mq.jmqi</artifactid> <version>7.0.1.9</version> </dependency> <dependency> <groupid>com.ibm.mq</groupid> <artifactid>com.ibm.mqjms</artifactid> <version>7.0.1.9</version> </dependency> <dependency> <groupid>com.sun.messaging.mq</groupid> <artifactid>fscontext</artifactid> <version>4.4.2</version> </dependency> <dependency> <groupid>javax.jms</groupid> <artifactid>jms</artifactid> <version>1.1</version> </dependency> <dependency> <groupid>simple-jndi</groupid> <artifactid>simple-jndi</artifactid> <version>0.11.4.1</version> </dependency> <dependency> <groupid>jta</groupid> <artifactid>jta</artifactid> <version>1.0.1b</version> <type>pom</type> </dependency> <dependency> <groupid>com.sun.jndi</groupid> <artifactid>providerutil</artifactid> <version>1.2</version> <type>pom</type> </dependency> <!-- spring batch --> <dependency> <groupid>org.springframework.batch</groupid> <artifactid>spring-batch-core</artifactid> <version>${spring.batch.core}</version> <exclusions> <exclusion> <groupid>commons-logging</groupid> <artifactid>commons-logging</artifactid> </exclusion> </exclusions> </dependency> <dependency> <groupid>org.springframework.batch</groupid> <artifactid> spring-batch-infrastructure </artifactid> <version>${spring.batch.core}</version> </dependency> <dependency> <groupid>org.springframework.batch</groupid> <artifactid>spring-batch-test</artifactid> <version>${spring.batch.core}</version> <scope>test</scope> </dependency> <dependency> <groupid>org.springframework.batch</groupid> <artifactid>spring-batch-integration</artifactid> <version>${spring.batch.admin}</version> </dependency> <dependency> <groupid>org.springframework.batch</groupid> <artifactid>spring-batch-admin-resources</artifactid> <version>${spring.batch.admin}</version> </dependency> <dependency> <groupid>org.springframework.batch</groupid> <artifactid>spring-batch-admin-manager</artifactid> <version>${spring.batch.admin}</version> </dependency> <!-- spring integration --> <dependency> <groupid>org.springframework.integration</groupid> <artifactid>spring-integration-core</artifactid> <version>${spring.integration.version}</version> </dependency> <dependency> <groupid>org.springframework.integration</groupid> <artifactid>spring-integration-file</artifactid> <version>${spring.integration.version}</version> </dependency> <dependency> <groupid>org.springframework.integration</groupid> <artifactid>spring-integration-jmx</artifactid> <version>${spring.integration.version}</version> </dependency> <dependency> <groupid>org.springframework.integration</groupid> <artifactid>spring-integration-http</artifactid> <version>${spring.integration.version}</version> </dependency> <dependency> <groupid>org.jboss.resteasy</groupid> <artifactid>resteasy-jaxrs</artifactid> <version>${jboss.resteasy.version}</version> </dependency> <dependency> <groupid>org.jboss.resteasy</groupid> <artifactid>resteasy-jackson-provider</artifactid> <version>${jboss.resteasy.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-compiler-plugin</artifactid> <version>2.5.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> <!-- <excludes> <exclude>**/*.xml</exclude> </excludes> --> </resource> </resources> </build> </project>
you mixing spring 3.1.1 spring 2.5.6. add explicit dependencies or dependency management entries spring dependencies still on 2.5.6 upgrade them 3.1.1 or downgrade project.
Comments
Post a Comment