When launching my java application, I got the following errors:
***************************
APPLICATION FAILED TO START
***************************
Description:
The dependencies of some of the beans in the application context form a cycle:
┌──->──┐
| securityConfiguration
└──<-──┘
Although the log is vivid, I still don't understand how SecurityConfiguration has cycle bean dependencies.
Stackoverflow doesn't allow me to easily paste the codes of SecurityConfiguration, so here they are: https://gist.github.com/blackmonkey/615232845025663597a2ba5f711caff5