Spring Circular Dependencies
I know you've been there, like me:
- I Have a circular dependency in Spring and my application fails to launch. How to solve this?
The typical exception thrown by Spring is the following:
'org.springframework.security.authenticationManager': Requested bean is currently in creation: Is there an unresolvable circular reference?
And, It does not give much details. So, let's see how we can break the circular dependency cycle and save some sanity!