JavaShuo
栏目
标签
Mapper method 'com.***.delByNumber' has an unsupported return type: class java.lang.String
时间 2020-12-25
栏目
Java
繁體版
原文
原文链接
问题情况,如图: 错误内容详情,如图: 解决办法: 1、把Controller层 改为这样: 2、把Service层 改为这样: 3、把Mapper层 改为这样: 4、最后把Mapper.xml 改为这样: 问题就解决了
>>阅读原文<<
相关文章
1.
Mapper method 'org.xxxxmapper.XXXXXMapper.saveXXXX' has an unsupported return type:
2.
控制台出现“The script has an unsupported MIME type ('text/html')”报错
3.
javax.el.ELException: Cannot convert [ +data.resultList[i].catid+ ] of type [class java.lang.String]
4.
MyBatis Error:BindingException Mapper method attempted to return null
5.
RoleMapper.deleteRole attempted to return null from a method with a primitive return type (int).
6.
[mybatis]............attempted to return null from a method with a primitive return type (int).
7.
org.springframework.web.HttpMediaTypeNotSupportedException: Unsupported Media Type, status=415
8.
Cannot convert value of type 'java.lang.String' to required type 'javax.sql.DataSourc...
9.
javax.el.ELException: Cannot convert [sql] of type [class java.lang.String] to [class java.lang.Lon
10.
415 Unsupported Media Type
更多相关文章...
•
C# 类(Class)
-
C#教程
•
HTTP content-type
-
HTTP 教程
•
☆基于Java Instrument的Agent实现
•
RxJava操作符(六)Utility
相关标签/搜索
unsupported
java.lang.string
method
mapper
return
type
class
com
try..return..catch..return..finally...return
java.lang.string#trim
Java
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
子类对象实例化全过程
2.
【Unity2DMobileGame_PirateBomb09】—— 设置基本敌人
3.
SSIS安装以及安装好找不到商业智能各种坑
4.
关于 win10 安装好的字体为什么不能用 WebStrom找不到自己的字体 IDE找不到自己字体 vs找不到自己字体 等问题
5.
2019版本mac电脑pr安装教程
6.
使用JacpFX和JavaFX2构建富客户端
7.
MySQL用户管理
8.
Unity区域光(Area Light) 看不见光线
9.
Java对象定位
10.
2019-9-2-用自动机的思想说明光速
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Mapper method 'org.xxxxmapper.XXXXXMapper.saveXXXX' has an unsupported return type:
2.
控制台出现“The script has an unsupported MIME type ('text/html')”报错
3.
javax.el.ELException: Cannot convert [ +data.resultList[i].catid+ ] of type [class java.lang.String]
4.
MyBatis Error:BindingException Mapper method attempted to return null
5.
RoleMapper.deleteRole attempted to return null from a method with a primitive return type (int).
6.
[mybatis]............attempted to return null from a method with a primitive return type (int).
7.
org.springframework.web.HttpMediaTypeNotSupportedException: Unsupported Media Type, status=415
8.
Cannot convert value of type 'java.lang.String' to required type 'javax.sql.DataSourc...
9.
javax.el.ELException: Cannot convert [sql] of type [class java.lang.String] to [class java.lang.Lon
10.
415 Unsupported Media Type
>>更多相关文章<<