Skip to content

Application Failed To Start #1

@afattahi54

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.

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