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.
以實例說明微服務拆分(以SpringCloud+Gradle)
2.
idea中通過Maven已經將依賴導入,在本地倉庫和external libraries中均有,運行的時候報沒有包的錯誤。
3.
Maven把jar包打到指定目錄下
4.
【SpringMvc】JSP+MyBatis 用戶登陸後更改導航欄信息
5.
在Maven本地倉庫安裝架包
6.
搭建springBoot+gradle+mysql框架
7.
PHP關於文件$_FILES一些問題、校驗和限制
8.
php 5.6連接mongodb擴展
9.
Vue使用命令行創建項目
10.
eclipse修改啓動圖片
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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
>>更多相關文章<<