Skip to content

heowc-scratch/spring-circular-di

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log

2021-11-20 16:55:34.502  INFO 35676 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-11-20 16:55:34.516 ERROR 35676 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

The dependencies of some of the beans in the application context form a cycle:

┌─────┐
|  serviceA defined in file [.../spring-circler-di/build/classes/java/main/com/example/ServiceA.class]
↑     ↓
|  serviceB defined in file [.../spring-circler-di/build/classes/java/main/com/example/ServiceB.class]
↑     ↓
|  serviceC defined in file [.../spring-circler-di/build/classes/java/main/com/example/ServiceC.class]
└─────┘


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.


Process finished with exit code 1

See spring-projects/spring-framework#25443

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages