springboot 中出现的could not autowired no bean have been found
学习springboot 的过程中出现了could not autowired no been have been found翻译成成中文就是不能完成自动注入,找不到注入时依赖的相关的bean类
一、解决的方法:
1.查看自己的springboot启动类是否添加了@Component注解,如果没有解决问题,请查看2
2.检查自己的注入的属性的名称是否和配置文件中的名称一致(或者说在字节的主入口类中...
原创
2020-04-10 22:31:25 ·
374 阅读 ·
0 评论