Spring common mistake : bypassing the proxy features
I want to share with you a common mistake I find in codebases using Spring when it comes to features auto-magically added by annotations.
Let's start with this piece of code :
@Service
public class MyLibrary {
BookRepository bookRepository;
...
daviddasilva.net3 min read
USHA S R
Hi David! You answered the doubts in this blog. Thanks for it. But when I tried solution you have provided, it throws error like:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'githubLookUpService': Requested bean is currently in creation: Is there an unresolvable circular reference?