- 博客(1)
- 收藏
- 关注
原创 Consider defining a bean of type 'xxx' in your configuration.
在springboot项目中出现Consider defining a bean of type ‘xxx’ in your configuration.的原因,是因为无法识别相应的bean,无法完成注入。解决办法有:1.检查实现类上是否添加@Service2.实体类上是否添加@Component3.在Dao接口上是否添加@Repository,@Mapper4.检查相应的包路径是否...
2020-03-21 23:23:58 1211
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人