springboot-遇到的错误
1、Field userMapper in com.yanan.outjob.controller.SysUserController required a bean of type 'com.yanan.outjob.dao.SysUserMapper' that could not be found.
mapper注入失败
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。解决方法启动类添加扫描注解 @MapperScan("com.yanan.outjob.dao")

更多精彩