The dependencies of some of the beans in the application context form a cycle 循环调用问题

 两个类中互相调用了对方的接口类,将一个类中调用对方的地方去掉,全部搬迁到一个类下面。主类调用了明细,明细又调用了主类,把明细调用主类的方法放到主类中去使用

原文地址:https://www.cnblogs.com/xianz666/p/14217574.html