required a bean of type 'xxx.mapper.xxxMapper' that could not be found.
解决方法:
检查springboot的Application类上面有没有以下配置,其中com.igswf.mapper就是你放置mapper接口的位置。
@MapperScan(basePackages = {"com.igswf.mapper"})
required a bean of type 'xxx.mapper.xxxMapper' that could not be found.
解决方法:
检查springboot的Application类上面有没有以下配置,其中com.igswf.mapper就是你放置mapper接口的位置。
@MapperScan(basePackages = {"com.igswf.mapper"})
有建议,请留言!