解决办法:
一:加入@MapperScan(value="com.ge.information.mapper")
@MapperScan(value="com.ge.information.mapper") public class InformationApplication { public static void main(String[] args) { SpringApplication.run(InformationApplication.class, args); } }
或者二:加入
@Mapper
@Mapper public interface UserMapper extends BaseMapper<UserEntity> {xxx}
更多推荐
Consider defining a bean of type 'com.ge.information.mapper.UserMapper'
发布评论