0
点赞
收藏
分享

微信扫一扫

Field xxxMapper in com.xxx.service.impl.xxxServiceImpl required a bean of type

捡历史的小木板 2022-04-30 阅读 81
spring boot

解决方案:在启动类上加@MapperScan(包路径.**.mapper)

但问题是我每个mapper上都加了@Mapper注解啊

举报

相关推荐

0 条评论