I see this error:
The dependencies of some of the beans in the application context form a cycle:
┌──->──┐
| exampleService (field private ......DAOInterface ....ExampleService.primaryDAOImpl)
└──<-──┘
Action:
Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.
I am using spring boot 3.
I see this error:
The dependencies of some of the beans in the application context form a cycle:
I am using spring boot 3.