- 完整报错:
org.apache.ibatis.binding.BindingException: Mapper method 'com.feng.dao.UserMapper.deleteUser' has an unsupported return type: class com.feng.pojo.User
- 原因:
接口方法编写错误——返回值类型错误:
接口方法设置的返回值类型和SQL语句返回的值类型不一致。
Mybatis报错01:Mapper method ‘com.feng.dao.UserMapper.deleteUser‘ has an unsupported return type: class
最新推荐文章于 2024-05-16 10:23:10 发布