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.
外部其他进程嵌入到qt FindWindow获得窗口句柄 报错无法链接的外部符号 [email protected] 无法被([email protected]@[email protected]@@引用
2.
UVa 11524 - InCircle
3.
The Monocycle(bfs)
4.
VEC-C滑窗
5.
堆排序的应用-TOPK问题
6.
实例演示ElasticSearch索引查询term,match,match_phase,query_string之间的区别
7.
数学基础知识 集合
8.
amazeUI 复择框问题解决
9.
背包问题理解
10.
算数平均-几何平均不等式的证明,从麦克劳林到柯西
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
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
>>更多相关文章<<