admin管理员组

文章数量:1794759

Consider defining a bean of type 'com.ge.information.mapper.UserMapper' in your configurat

Consider defining a bean of type 'com.ge.information.mapper.UserMapper' in your configurat

解决办法:

一:加入@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}

 

本文标签: amptypedefiningbeanUserMapper