Spring Boot 2.x版本出现Consider defining a bean of type 'xx' in your configuration.的错误
Spring Boot 2.x版本出现Consider defining a bean of type ‘xx’ in your configuration.的错误,如下图:
图片:
网上搜索到的解决方法
1:在Dao层添加@Mapper
2:启动类 xxxApplication 添加@MapperScan(“Dao层包的路径”)
然而依然不能解决该问题
至此,说明@SpringBootA...
原创
2019-12-30 11:19:13 ·
1105 阅读 ·
0 评论