java.lang.IllegalArgumentException: No converter found for return value of type: class java.util
来源:互联网 发布:快乐8软件下载 编辑:程序博客网 时间:2024/05/17 18:02
最近在做自己的web项目的时候,搭建完ssm打算跑一下,结果出现了 java.lang.IllegalArgumentException: No converter found for return value of type: class java.util的错误.
控制层部分用的是@ResposeBody,方法返回Object类型参数,不出现错误的情况下应该在前台接收到的是转换后的json格式数据.出现错误后,检查了一下Maven的pom.xml,发现仓库中没有引入json的相关依赖,也就是json的依赖包没有,所以出现了上面所谓的转换失败的错误代码.
看到网上还有别的出现此错误代码的问题,是因为需要转换成json格式的对象的成员变量没有get方法.
阅读全文
0 0
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has
- 解决java.lang.IllegalArgumentException: No converter found for return value of type: class java.util
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util
- 解决java.lang.IllegalArgumentException: No converter found for return value of type: class java.util
- 【已解决】java.lang.IllegalArgumentException: No converter found for return value of type: class java.uti
- java.lang.IllegalArgumentException: No converter found for return value of type: class
- 记录下报错:java.lang.IllegalArgumentException: No converter found for return value of type: class
- springmvc框架报错java.lang.IllegalArgumentException: No converter found for return value of type: class
- java.lang.IllegalArgumentException: No converter found for return value of type:class 解决方案
- 关于java.lang.IllegalArgumentException: No converter found for return value of type: class 的问题解决
- java.lang.IllegalArgumentException: No converter found for return value of type
- java.lang.IllegalArgumentException: No converter found for return value of type
- springboot错误 java.lang.IllegalArgumentException:No converter found for return value of type
- java.lang.IllegalArgumentException: No converter found for return value of type:
- 解决java.lang.IllegalArgumentException: No converter found for return value of type:
- springMVC返回json格式数据报错:No converter found for return value of type: class java.util.HashMap
- springMVC返回json格式数据报错:No converter found for return value of type: class java.util.HashMap
- dubbo入门了解
- 比特币与人民币正式分手,价格飙升令世界迷惑
- LeetCode119. Pascal's Triangle II
- Tensorflow-DCGAN
- [DUBBO] ChannelEventRunnable handle RECEIVED operation error, channel is NettyChannel 错误原因
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util
- Hibernate对象状态
- 砍价活动倒计时
- Jquery事件绑定操作,bind和live的区别
- linux权限分数算法
- 链表栈 纳尼。。
- 【LEFT JOIN 实战记录】统计查询-问题明细指标查询
- JS插件(2)--- jquery.autocomplete 异步加载数据完整版
- CentOS 6.5之SSH免密码登录配置