spring 在某些情况下是存在这样的问题:
https://github.com/spring-projects/spring-framework/issues/18879
https://github.com/spring-projects/spring-framework/issues/24325
https://stackoverflow.com/questions/29347723/why-does-spring-get-circular-dependency-issues-on-one-machine-and-not-another
解决办法:
1. 去循环依赖
2. @Lazy
3. InitializingBean 时,从 context 中获取
4. @PostConstruct 去设置 bean 依赖
https://www.baeldung.com/circular-dependencies-in-spring