Skip to content

Application Failed To Start #1

Description

@afattahi54

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions