Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
21 lines
794 B
Plaintext
21 lines
794 B
Plaintext
# A two-bean cycle written as @Bean methods: the report names the configuration class instead of a class file
|
|
|
|
***************************
|
|
APPLICATION FAILED TO START
|
|
***************************
|
|
|
|
Description:
|
|
|
|
The dependencies of some of the beans in the application context form a cycle:
|
|
|
|
┌─────┐
|
|
| clock defined in com.ankurm.corebeans.cycles.beanmethods.BeanMethodCycle
|
|
↑ ↓
|
|
| calendar defined in com.ankurm.corebeans.cycles.beanmethods.BeanMethodCycle
|
|
└─────┘
|
|
|
|
|
|
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.
|