spring data jpa结合neo4j

 将spring data neo4j迁到项目以后一直报错。



 java.lang.AbstractMethodError: org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepository(Lorg/springframework/data/repository/core/RepositoryInformation;)Ljava/lang/Object;

 

解决办法:

Deleting the spring-data-commons and changing the spring-data-jpa version to 1.9.0.RELEASE like @peeskillet said now works fine! 
这也是为什么pom文件中spring-data-jpa要配置1.9.0.RELEASE的版本。

参考地址 http://blog.csdn.net/rickyit/article/details/54378695

猜你喜欢

转载自pljj000.iteye.com/blog/2384004