部署jar包循環依賴The dependencies of some of the beans in the application context form a cycle

部署jar包循環依賴 The dependencies of some of the beans in the application context form a cycle spring項目打完jar包需要部署服務器的時候報錯,根據日誌可得知屬於循環依賴 查看代碼 在我的A類中引入了B類的依賴(甚至還沒有使用),同時在B類中也有A類的依賴引入 猜測可能就是這個問題導致循環依賴的報錯信息。 解決
相關文章
相關標籤/搜索