采用 @Autowired发现仍然会报错
The dependencies of some of the beans in the application context form a cycle:
解决方法:
配置文件中增加
spring.main.allow-circular-references=true
采用 @Autowired发现仍然会报错
The dependencies of some of the beans in the application context form a cycle:
解决方法:
配置文件中增加
spring.main.allow-circular-references=true