I go to the same error.
Seems you have a conflict of versions (due the red part)
Post here the version of each Spring project used
I usede spring framework 3.2.1 ,details is
Code:
spring-aop-3.2.1.RELEASE-javadoc.jar
spring-aop-3.2.1.RELEASE-sources.jar
spring-aop-3.2.1.RELEASE.jar
spring-aspects-3.2.1.RELEASE-javadoc.jar
spring-aspects-3.2.1.RELEASE-sources.jar
spring-aspects-3.2.1.RELEASE.jar
spring-beans-3.2.1.RELEASE-javadoc.jar
spring-beans-3.2.1.RELEASE-sources.jar
spring-beans-3.2.1.RELEASE.jar
spring-build-src-3.2.1.RELEASE.jar
spring-context-3.2.1.RELEASE-javadoc.jar
spring-context-3.2.1.RELEASE-sources.jar
spring-context-3.2.1.RELEASE.jar
spring-context-support-3.2.1.RELEASE-javadoc.jar
spring-context-support-3.2.1.RELEASE-sources.jar
spring-context-support-3.2.1.RELEASE.jar
spring-core-3.2.1.RELEASE-javadoc.jar
spring-core-3.2.1.RELEASE-sources.jar
spring-core-3.2.1.RELEASE.jar
spring-expression-3.2.1.RELEASE-javadoc.jar
spring-expression-3.2.1.RELEASE-sources.jar
spring-expression-3.2.1.RELEASE.jar
spring-instrument-3.2.1.RELEASE-javadoc.jar
spring-instrument-3.2.1.RELEASE-sources.jar
spring-instrument-3.2.1.RELEASE.jar
spring-instrument-tomcat-3.2.1.RELEASE-javadoc.jar
spring-instrument-tomcat-3.2.1.RELEASE-sources.jar
spring-instrument-tomcat-3.2.1.RELEASE.jar
spring-jdbc-3.2.1.RELEASE-javadoc.jar
spring-jdbc-3.2.1.RELEASE-sources.jar
spring-jdbc-3.2.1.RELEASE.jar
spring-jms-3.2.1.RELEASE-javadoc.jar
spring-jms-3.2.1.RELEASE-sources.jar
spring-jms-3.2.1.RELEASE.jar
spring-orm-3.2.1.RELEASE-javadoc.jar
spring-orm-3.2.1.RELEASE-sources.jar
spring-orm-3.2.1.RELEASE.jar
spring-oxm-3.2.1.RELEASE-javadoc.jar
spring-oxm-3.2.1.RELEASE-sources.jar
spring-oxm-3.2.1.RELEASE.jar
spring-struts-3.2.1.RELEASE-javadoc.jar
spring-struts-3.2.1.RELEASE-sources.jar
spring-struts-3.2.1.RELEASE.jar
spring-test-3.2.1.RELEASE-javadoc.jar
spring-test-3.2.1.RELEASE-sources.jar
spring-test-3.2.1.RELEASE.jar
spring-tx-3.2.1.RELEASE-javadoc.jar
spring-tx-3.2.1.RELEASE-sources.jar
spring-tx-3.2.1.RELEASE.jar
spring-web-3.2.1.RELEASE.jar
spring data jpa 1.3
spring data commons 1.5
the error is
Code:
Caused by: java.lang.IllegalAccessError: tried to access method org.springframework.core.GenericTypeResolver.getTypeVariableMap(Ljava/lang/Class;)Ljava/util/Map; from class org.springframework.data.util.ClassTypeInformation
at org.springframework.data.util.ClassTypeInformation.<init>(ClassTypeInformation.java:96)
at org.springframework.data.util.ClassTypeInformation.<clinit>(ClassTypeInformation.java:42)
at org.springframework.data.repository.core.support.AbstractRepositoryMetadata.<init>(AbstractRepositoryMetadata.java:43)
at org.springframework.data.repository.core.support.DefaultRepositoryMetadata.<init>(DefaultRepositoryMetadata.java:43)
at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepositoryMetadata(RepositoryFactorySupport.java:159)
at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:130)
at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:153)
at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:43)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
... 48 more