The dependencies of some of the beans in the application context form a cycle

102 阅读1分钟

出现原因,service层循环调用 解决方案,把其中一个service注入到controller层,在controller层完成业务逻辑