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

阅读 81

2022-04-30

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

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

精彩评论(0)

0 0 举报