NoSuchMethodException: JpaRepositoryFactoryBean.<init>() after upgrading from 1.9.2 to 1.11.23 [DATAJPA-1610] #1916
Labels
in: core
Issues in core support
status: declined
A suggestion or change that we don't feel we should currently apply
type: bug
A general bug
gaurav9822 opened DATAJPA-1610 and commented
After upgrading spring-data-jpa from 1.9.2 to 1.11.23, the my project tests fail with the following stacktrace.
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personRepository': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.<init>()
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.<init>()
Caused by: java.lang.NoSuchMethodException: org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.<init>()
Source code for reference:-
https://github.com/iluwatar/java-design-patterns/blob/master/repository/src/test/java/com/iluwatar/repository/RepositoryTest.java
Please assist
Affects: 1.11.23 (Ingalls SR23)
The text was updated successfully, but these errors were encountered: