Spring boot 2.6.1: circular reference
saraminto opened this issue · 4 comments
Hello,
I'm trying to run wicket spring boot project with spring boot 2.6.1, but I get
APPLICATION FAILED TO START
Description:
The dependencies of some of the beans in the application context form a cycle:
wicketextensionApplicationSettingsConfig (field private com.giffing.wicket.spring.boot.starter.app.classscanner.candidates.WicketClassCandidatesHolder com.giffing.wicket.spring.boot.starter.configuration.extensions.core.settings.application.ApplicationSettingsConfig.holder)
┌─────┐
| com.giffing.wicket.spring.boot.starter.app.classscanner.ClassCandidateScanner
└─────┘
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.
Is it possible to fix this inconvenience?
Any idea why 3.1.0 is not yet on Maven Central?
Please use 3.1.5. I hope it is available soon in Maven Central.