springBoot-tk.mybatis.mapper.MapperException: 无法获取实体类com.example.demo.entity.SysUser对应的表名!
增加@MapperScan注解的时候,导入包为import tk.mybatis.spring.annotation.MapperScan;不要选择 org.mybaties.spring.annotation.MapperScan反省: Mybaties和springboot集成的知识还是理解的不透彻,熟悉
·
增加@MapperScan注解的时候,导入包为import tk.mybatis.spring.annotation.MapperScan;
不要选择 org.mybaties.spring.annotation.MapperScan
反省: Mybaties和springboot集成的知识还是理解的不透彻,熟悉
更多推荐
所有评论(0)