NullPointerException at org.springframework.beans.factory.support.factorybeanregistrysupport.dogetobjectfromfactorybean(factorybeanregistrysupport.java:142)
This error is because of wrong version of the Spring data jar:
Replace : 1.3.2.RELEASE
with
1.3.4.RELEASE
Here is the maven dependency:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.3.4.RELEASE</version>
</dependency>
This is how you resolve the error while instantiating the DAO or JPARepository while using spring data for jpa.
This error is because of wrong version of the Spring data jar:
Replace : 1.3.2.RELEASE
with
1.3.4.RELEASE
Here is the maven dependency:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.3.4.RELEASE</version>
</dependency>
This is how you resolve the error while instantiating the DAO or JPARepository while using spring data for jpa.
No comments:
Post a Comment