Spring依赖循环:The dependencies of some of the beans in the application context form a cycle

使用构造器注入时会死循环,只要有一个类使用@Autowired进行输入注入即可!

致力于记录学习过程中的笔记,希望大家有所帮助(*^▽^*)!
原文地址:https://www.cnblogs.com/zxhbk/p/13857937.html