JavaShuo
欄目
標籤
spring 項目中拋出 in its raw version as part of a circular reference, but has eventually been wrap 異常問題
時間 2021-01-03
標籤
spring
java
欄目
Spring
简体版
原文
原文鏈接
項目中存在bean自己引用自己的情況,類似如圖所示 最終拋出這個異常 百度之後的解決方案在引入的TestService上加@Lazy註解即可搞定。確實也正常了。但是因爲之前處理過類似的情況也是自己引用自己,只不過是在方法上加入的是@Transaction 註解,調用初始化也確實沒有問題。並未出現如圖所示的異常。 最終在AbstractAutowireCapableBeanFactory 中這裏
>>阅读原文<<
相關文章
1.
Bean with name 'xxxService' has been injected into other beans [xxxServiceA,xxxServiceB] in its raw
2.
spring 循環注入circular reference 最簡單的處理方式
3.
Failed to load ApplicationContext之spring中最常常遇到的問題彙總
4.
spring mybatis circular reference
5.
springboot 異常: Requested bean is currently in creation: Is there an unresolvable circular reference?
6.
spring循環依賴問題分析
7.
eclipse報錯:UnsupportVersionError:XX has been compiled by a more recent version of the Java Runtime
8.
Java中異常的拋出問題
9.
Warning: This Python interpreter is in a conda environment, but the environment has not been activat
10.
This Python interpreter is in a conda environment, but the environment has not been activated
更多相關文章...
•
PHP 7 異常
-
PHP 7 新特性
•
Thymeleaf項目實踐
-
Thymeleaf 教程
•
IntelliJ IDEA中SpringBoot properties文件不能自動提示問題解決
•
PHP Ajax 跨域問題最佳解決方案
相關標籤/搜索
常問問題
version
circular
wrap
reference
raw
拋出
常見問題
異常
出問題
Java
Spring
紅包項目實戰
Spring教程
PHP教程
spring cloud
註冊中心
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
升級Gradle後報錯Gradle‘s dependency cache may be corrupt (this sometimes occurs
2.
Smarter, Not Harder
3.
mac-2019-react-native 本地環境搭建(xcode-11.1和android studio3.5.2中Genymotion2.12.1 和VirtualBox-5.2.34 )
4.
查看文件中關鍵字前後幾行的內容
5.
XXE萌新進階全攻略
6.
Installation failed due to: ‘Connection refused: connect‘安卓studio端口占用
7.
zabbix5.0通過agent監控winserve12
8.
IT行業UI前景、潛力如何?
9.
Mac Swig 3.0.12 安裝
10.
Windows上FreeRDP-WebConnect是一個開源HTML5代理,它提供對使用RDP的任何Windows服務器和工作站的Web訪問
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Bean with name 'xxxService' has been injected into other beans [xxxServiceA,xxxServiceB] in its raw
2.
spring 循環注入circular reference 最簡單的處理方式
3.
Failed to load ApplicationContext之spring中最常常遇到的問題彙總
4.
spring mybatis circular reference
5.
springboot 異常: Requested bean is currently in creation: Is there an unresolvable circular reference?
6.
spring循環依賴問題分析
7.
eclipse報錯:UnsupportVersionError:XX has been compiled by a more recent version of the Java Runtime
8.
Java中異常的拋出問題
9.
Warning: This Python interpreter is in a conda environment, but the environment has not been activat
10.
This Python interpreter is in a conda environment, but the environment has not been activated
>>更多相關文章<<