SpringBoot报No qualifying bean of type ‘com.lzk.mapper.UserMapper‘ available
这个异常是SpringBoot程序没有找到要Bean,这里提示找不到UserMapper,有以下三种解决方式:在UserMapper上添加注解@Mapper@MapperpublicinterfaceUserMapperextendsBaseMapper{}在启动类上进行Mapper包扫描,不用每个Mapper上都添加注解@SpringBootApplication@MapperScan("com