Quantcast
Channel: Spring Community Forums - Data
Viewing all articles
Browse latest Browse all 297

setMappingContext(Lorg/springframework/data/mapping/context/MappingContext

$
0
0
Hi

I have some jar dependency error. Any help appreciated:

maven dependencies:->
spring: 3.2.2-RELEASE
spring-data:1.3.0-RELEASE
hibernate:4.2.1.Final
hibernate-validator.version:4.3.1.Final

I get this exception loading the context:

Code:

Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'entityManager' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.setMappingContext(Lorg/springframework/data/mapping/context/MappingContext;)V
        at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:101)

presume i have dependency error? Anyone know how to help?
Also any suggestions on best way to debug this sort of dependency issue as it is not obvious to me.
Thanks in advance for any help.
Best regards
Paul

Viewing all articles
Browse latest Browse all 297

Trending Articles