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.
Mac实用技巧 |如何使用Mac系统中自带的预览工具将图片变成黑白色?
3.
Mac实用技巧 |如何使用Mac系统中自带的预览工具将图片变成黑白色?
4.
如何使用Mac系统中自带的预览工具将图片变成黑白色?
5.
Mac OS非兼容Windows软件运行解决方案——“以VMware & Microsoft Access为例“
6.
封装 pyinstaller -F -i b.ico excel.py
7.
数据库作业三ER图待完善
8.
nvm安装使用低版本node.js(非命令安装)
9.
如何快速转换图片格式
10.
将表格内容分条转换为若干文档
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
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. 项目启动报错
>>更多相关文章<<