spring · spring/BeanCurrentlyInCreationException
BeanCurrentlyInCreationException
BeanCurrentlyInCreationException
Thrown when a circular dependency is detected between beans during context startup. With constructor injection Spring cannot break the cycle automatically; switching one dependency to setter or field injection, or annotating it with @Lazy, resolves it.