JavaShuo
欄目
標籤
SpringBoot項目啓動出現required a bean of type ‘XXX‘ that could not be found
時間 2020-12-25
標籤
Java學習
Bug解決
spring
java
欄目
Spring
简体版
原文
原文鏈接
問題出現 在對Controller進行修改完的時候,啓動項目出現的問題,情況如圖所示: 對於這個問題,總結分析原因如下: 也就是Bean配置失敗 在我這裏出現的問題是xxx部分是'java.lang.Integer' that could not be found.,這就不會是我自定義的類掃描不到的問題,因此檢查注入類時候的問題 解決方案 注意業務層@Autowired註解 刪除一些類的時候,注意
>>阅读原文<<
相關文章
1.
SpringBoot 報錯Field XXX required a bean of type XXX that could not be found.
2.
springboot 報錯Field XXX required a bean of type XXX that could not be found.
3.
SpringBoot Field aFeign in xxxx required a bean of type 'xxx' that could not be found.
4.
springboot 啓動報錯Description:Field mapper in xxx required a bean of type 'xxx' that could not be found
5.
springboot 啓動報錯Field XXX required a bean of type XXX that could not be found.
6.
method xxx in xxx required a bean of type 'java.lang.String' that could not be found.
7.
springboot 啓動失敗Field redisClientTemplate in xxx required a bean of type 'xxx' that could not be foun
8.
Field XXX in XXXX required a bean of type XXXX that could not be found
9.
** a bean of type ‘javax.servlet.Filter‘ that could not be found
10.
IDEA用gradle構建java項目, Field XXX in required a bean of type 'XXX' that could not be found. 項目啓動報錯
更多相關文章...
•
Thymeleaf項目實踐
-
Thymeleaf 教程
•
Eclipse 重啓選項
-
Eclipse 教程
•
SpringBoot中properties文件不能自動提示解決方法
•
IntelliJ IDEA中SpringBoot properties文件不能自動提示問題解決
相關標籤/搜索
required
SpringBoot項目
bean
type
啓動
項目
JavaWeb項目實現
現出
Spring
Java
紅包項目實戰
PHP教程
NoSQL教程
SpringBoot
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
融合阿里雲,牛客助您找到心儀好工作
2.
解決jdbc(jdbctemplate)在測試類時不報錯在TomCatb部署後報錯
3.
解決PyCharm GoLand IntelliJ 等 JetBrains 系列 IDE無法輸入中文
4.
vue+ant design中關於圖片請求不顯示的問題。
5.
insufficient memory && Native memory allocation (malloc) failed
6.
解決IDEA用Maven創建的Web工程不能創建Java Class文件的問題
7.
[已解決] Error: Cannot download ‘https://start.spring.io/starter.zip?
8.
在idea讓java文件夾正常使用
9.
Eclipse啓動提示「subversive connector discovery」
10.
帥某-技巧-快速轉帖博主文章(article_content)
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
SpringBoot 報錯Field XXX required a bean of type XXX that could not be found.
2.
springboot 報錯Field XXX required a bean of type XXX that could not be found.
3.
SpringBoot Field aFeign in xxxx required a bean of type 'xxx' that could not be found.
4.
springboot 啓動報錯Description:Field mapper in xxx required a bean of type 'xxx' that could not be found
5.
springboot 啓動報錯Field XXX required a bean of type XXX that could not be found.
6.
method xxx in xxx required a bean of type 'java.lang.String' that could not be found.
7.
springboot 啓動失敗Field redisClientTemplate in xxx required a bean of type 'xxx' that could not be foun
8.
Field XXX in XXXX required a bean of type XXXX that could not be found
9.
** a bean of type ‘javax.servlet.Filter‘ that could not be found
10.
IDEA用gradle構建java項目, Field XXX in required a bean of type 'XXX' that could not be found. 項目啓動報錯
>>更多相關文章<<