tomcat 报错 Status 500 - Mapper method ‘xxxxx‘ has an unsupported return type: class xxx
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相关推荐
- Mapper method 'comxx' has an unsupported return type
报错场景: 在学习SpringBoot与mybatis整合的时候,对数据库的数据进行更新操作,sql执行成功,但是返回了如下的异常 org.apache.ibatis.binding.BindingE ...
- 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 ...
- 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 ...
- 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' ...
- 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 ...
- 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 ...
- org.apache.ibatis.binding.BindingException:( Mapper method has an unsupported return type)
一.因为是org.apache.ibatis.binding.BindingException错误,所以一直以为的原因以下几种 1.mapper接口(GoodsMapper.java)是否与mappe ...
- TOMCAT报错:HTTP Status 404 -
构建struts2工程师,tomcat报错: HTTP Status 404 - type Status report message description The requested resour ...
- tomcat报错405
tomcat报错405 出现HTTP Status 405 - HTTP method GET is not supported by this URL 原因是: 1.继承自Httpservlet的S ...
最新文章
- 我所理解的RESTful Web API [设计篇]
- 数据结构与算法—栈详解
- java opencv yuv_JavaCV与OpenCV的区别和使用中遇到的问题
- 前端学习(2308):react之子传父
- 20000W的电灯泡,真的是叼炸天
- Docker安装RabbitMQ(docker-compose.yml)
- (46)VHDL实现4位桶性形移位器
- 物以类聚:对象也有生命
- 【VS开发】免费打工仔:一个完善的ActiveX Web控件教程
- python使用fpdf创建pdf:写入hello world、嵌入图片
- CISCO 路由器 初始化必备安全命令
- SQL 2005镜像操作证书认证(非域方式)
- Win7 64位下使用masm
- form表单美化插件之jqTransform
- 微信社区小程序/h5/圈子论坛贴吧交友/博客/社交/陌生人社交/宠物/话题/私域/同城
- 微信小程序 java物流车辆货物托运配送管理系统springboot
- iOS:制作简易的 AAC 播放器 —— 了解音频的播放流程
- 解压密码忘记了怎么办
- php中脚本代码开始,从PHP代码中执行shell脚本
- R语言关联规则(购物篮分析)
热门文章
- 一个测试工程师走进一家酒吧……
- 描述linux shell中单引号,linux shell中单引号、双引号、反引号、反斜杠的区别
- Encoder-Decoder综述理解(推荐)
- python爬取小说写入txt_基于python爬取小说章节源代码内容存为文本实现小说下载...
- 【Python】解决使用 plt.savefig 保存图片时一片空白
- Redis可视化客户端Redis Desktop Manager(中文版)下载及使用
- 主流机器视觉软件介绍
- 报错问题:Invalid bound statement (not found):cn.mall.dao.BookMapper.selectAll
- (记录)golang获取mongo的ObjectId
- 教你三分钟上手阿里云OOS上传操作