当前位置:网站首页>[MP error] MP: 'getbasemappe serviceimpl' claims
[MP error] MP: 'getbasemappe serviceimpl' claims
2022-07-28 15:16:00 【Hello, did you touch it】
- ServiceImp Report errors
‘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
stay MyBatis-plus in , The general reference package is
com.baomidou.mybatisplus.core.mapper;
Look at the source code ,IService And its implementation class ServiceImpl Yes Mapper All the requirements are
<M extends BaseMapper<T>, T>
ServiceImpl<M extends BaseMapper<T>, T> implements IService<T>
Problem solving : Check your own definition xxServiceI Used in mapper Whether it is BaseMapper Subclasses of , And
Mapper Generic references should be associated with IService bring into correspondence with .
边栏推荐
猜你喜欢
随机推荐
Specific operation process of network security emergency response
shellcode编写学习-环境
PHP magic method
redis常用命令总结(自备)
What is the difference between UTF-8, utf-16 and UTF-32 character encoding? [graphic explanation]
Feeling about software development work in the second anniversary
Repvgg paper explanation and model reproduction using pytoch
JS常用的3种弹出框
边缘技术和小程序容器在智能家居中的应用
流畅到让人头皮发麻的单商户商城,你用过吗?
JS学习笔记24-28:结束
SystemVerilog
No files or folders found to process
3564. Date category
RepVGG论文详解以及使用Pytorch进行模型复现
About the reptile thing
Machine learning related concepts
3511. 倒水问题
Picture Trojan principle production prevention
Bcompare key expired or bcompare license key revoked









