使用MybatisPlus出现的问题 Cannot be inherited with different type arguments
![使用mybatisplus出现的问题 com.baomidou.mybatisplus.extension.service.IService cannot be inherited with different type arguments: com.sha.code.model.SysRoleEntity and com.sha.code.model.SysRoleMenuEntity /mybatisplus-cannot-inherited-diff-type-arguments-error/featured-image.jpg](/mybatisplus-cannot-inherited-diff-type-arguments-error/featured-image.jpg)
目录
报错原因
'com.baomidou.mybatisplus.extension.service.IService' cannot be inherited with different type arguments: 'com.sha.code.model.SysRoleEntity'
and 'com.sha.code.model.SysRoleMenuEntity'
Error:(17, 8) java: 无法使用以下不同的参数继承com.baomidou.mybatisplus.extension.service.IService: <com.sha.code.model.SysRoleMenuEntity>
和 <com.sha.code.model.SysRoleEntity>
解决方式
SysRoleService.java
中IService
中参数写错
|
|