‘getBaseMapper()‘ in ‘com.baomidou.mybatisplus.extension.service.impl.ServiceImpl‘ clashes with.....
Mybatis-Plus发生该报错:'getBaseMapper()' in 'com.baomidou.mybatisplus.extension.service.impl.ServiceImpl' clashes with 'getBaseMapper()' in 'com.baomidou.mybatisplus.extension.service.IService'; attempting
·
Mybatis-Plus发生该报错:
'getBaseMapper()' in 'com.baomidou.mybatisplus.extension.service.impl.ServiceImpl' clashes with 'getBaseMapper()' in 'com.baomidou.mybatisplus.extension.service.IService'; attempting to use incompatible return type.
原因:
你的dao层接口文件名不是xxxMapper.java命名规范,MP中的dao层文件名必须是Mapper结尾。
更多推荐
已为社区贡献1条内容
所有评论(0)