myBatis 接口写了 insert ,对应的dao层里写的返回值是一个实体类
User add(User user);

报错 Status 500 - Mapper method ‘xxxxx’ has an unsupported return type: class xxx

解决:mapper文件中update、delete、insert 语句不需要设置返回类型,默认返回一个int所以把返回值类型改成 int
int add(User user);

tomcat 报错 Status 500 - Mapper method ‘xxxxx‘ has an unsupported return type: class xxx相关推荐

  1. Mapper method 'comxx' has an unsupported return type

    报错场景: 在学习SpringBoot与mybatis整合的时候,对数据库的数据进行更新操作,sql执行成功,但是返回了如下的异常 org.apache.ibatis.binding.BindingE ...

  2. Mapper method ‘com.LH.mapper.EmployeeMapper.insertEmployee‘ has an unsupported return type: cla 报错

    问题: Mapper method 'com.LH.mapper.EmployeeMapper.insertEmployee' has an unsupported return type: clas ...

  3. java报错“Syntax error on tokens, delete these tokens”、“Return type for the method is missing”

    今天从wps里复制了java代码,出现了报错, Syntax error on tokens, delete these tokens;Return type for the method is mi ...

  4. Mybatis报错01:Mapper method ‘com.feng.dao.UserMapper.deleteUser‘ has an unsupported return type: class

    完整报错: org.apache.ibatis.binding.BindingException: Mapper method 'com.feng.dao.UserMapper.deleteUser' ...

  5. Mapper method 'com.XXX.dao.XXXMapper.XXX' has an unsupported return type: class XXX

    错误描述: Mapper method 'com.XXX.dao.XXXMapper.updateXXX' has an unsupported return type: class java.lan ...

  6. java.util.list 报错_Java 报错 .updateValue' has an unsupported return type: interface java.util.List...

    问题描述 org.apache.ibatis.binding.BindingException: Mapper method****updateValue' has an unsupported re ...

  7. org.apache.ibatis.binding.BindingException:( Mapper method has an unsupported return type)

    一.因为是org.apache.ibatis.binding.BindingException错误,所以一直以为的原因以下几种 1.mapper接口(GoodsMapper.java)是否与mappe ...

  8. TOMCAT报错:HTTP Status 404 -

    构建struts2工程师,tomcat报错: HTTP Status 404 - type Status report message description The requested resour ...

  9. tomcat报错405

    tomcat报错405 出现HTTP Status 405 - HTTP method GET is not supported by this URL 原因是: 1.继承自Httpservlet的S ...

最新文章

  1. 我所理解的RESTful Web API [设计篇]
  2. 数据结构与算法—栈详解
  3. java opencv yuv_JavaCV与OpenCV的区别和使用中遇到的问题
  4. 前端学习(2308):react之子传父
  5. 20000W的电灯泡,真的是叼炸天
  6. Docker安装RabbitMQ(docker-compose.yml)
  7. (46)VHDL实现4位桶性形移位器
  8. 物以类聚:对象也有生命
  9. 【VS开发】免费打工仔:一个完善的ActiveX Web控件教程
  10. python使用fpdf创建pdf:写入hello world、嵌入图片
  11. CISCO 路由器 初始化必备安全命令
  12. SQL 2005镜像操作证书认证(非域方式)
  13. Win7 64位下使用masm
  14. form表单美化插件之jqTransform
  15. 微信社区小程序/h5/圈子论坛贴吧交友/博客/社交/陌生人社交/宠物/话题/私域/同城
  16. 微信小程序 java物流车辆货物托运配送管理系统springboot
  17. iOS:制作简易的 AAC 播放器 —— 了解音频的播放流程
  18. 解压密码忘记了怎么办
  19. php中脚本代码开始,从PHP代码中执行shell脚本
  20. R语言关联规则(购物篮分析)

热门文章

  1. 一个测试工程师走进一家酒吧……
  2. 描述linux shell中单引号,linux shell中单引号、双引号、反引号、反斜杠的区别
  3. Encoder-Decoder综述理解(推荐)
  4. python爬取小说写入txt_基于python爬取小说章节源代码内容存为文本实现小说下载...
  5. 【Python】解决使用 plt.savefig 保存图片时一片空白
  6. Redis可视化客户端Redis Desktop Manager(中文版)下载及使用
  7. 主流机器视觉软件介绍
  8. 报错问题:Invalid bound statement (not found):cn.mall.dao.BookMapper.selectAll
  9. (记录)golang获取mongo的ObjectId
  10. 教你三分钟上手阿里云OOS上传操作