Tag: Spring Data JPA
-
Spring Data JPA: Requested bean is currently in creation: Is there an unresolvable circular reference?
PROBLEM Let’s assume we have the following Spring Data JPA repository… … this repository has some custom implementation… … this custom implementation depends on the original repository to reuse existing APIs… When we run the code, we get the following exception:- SOLUTION To fix the circular reference problem, instead of auto-wiring ProjectRepository using the constructor,… Read More…