当前位置:网站首页>关于json转换器缺失的问题,报错内容:No converter found for return value of type
关于json转换器缺失的问题,报错内容:No converter found for return value of type
2022-08-10 10:07:00 【51CTO】
<此博客只为自己学习记录,解决方案是综合了网上各种解决思路和方法,最后实践加以解决后,作为备忘录的用途。>
报错内容如下:
nested exception is java.lang.IllegalArgumentException: No converter found for return value of type: class java.XXX.XXX
直接不废话, 出现这个问题的原因可能包含以下两个:
①springMVC的配置文件
dispatcherServlet-servlet.xml
里面没有对json转换器的配置信息。
②json的三个jar包导入
①的解决方案,在dispatcherServlet-servlet.xml
②的解决方案: 安装上面提到的jar包,下载导入即可。 maven项目就直接复制粘贴在pom.xml文件里面即可。
边栏推荐
- Payment x Aggregation x Ledger Separation - The Way to Avoid Risk of "Erqing" on the Return Platform
- CSDN21天学习挑战赛——多态(05)
- LCD DRM驱动框架分析一
- LeetCode Algorithm 1403. 非递增顺序的最小子序列
- The Generation of Matlab Symbolic Functions and the Calculation of Its Function Values
- LCD模块如何建立联系分析
- dedecms supports one-click upload of Word content
- 在兄弟连战狼班参加PHP培训做行业领先人才
- LeetCode Algorithm 914. 卡牌分组
- 交换 生成树 知识总结
猜你喜欢

ESP8266 Tutorial 1 - Introduction to ESP8266 Hardware Platform

支付 x 聚合 x 分账 - 回流平台“二清”风险规避之路

Situation丨The intrusion of hackers intensifies, and the shooting range sets up a "defense shield" for network security

Plot temperature curves; QChart,

「敏捷建模」纪律:敏捷设计理念

交换 生成树 知识总结

在兄弟连战狼班参加PHP培训做行业领先人才

「业务架构」TAGAF建模:业务服务/信息图

「技术选型」工作流引擎哪家强?首席架构帮你挑

LCD模块如何建立联系分析
随机推荐
GO文件相关操作使用
如何理解BIO、NIO、AIO的区别
定时任务Quartz
【Software Exam System Architect】System Reliability Analysis and Design ① System Reliability Analysis
「技术选型」工作流引擎哪家强?首席架构帮你挑
CSDN 21 Days Learning Challenge - Polymorphism (05)
ESP8266 Tutorial 2 - Burn AT Firmware
多租户技术
[Internet of Things Architecture] The most suitable open source database for the Internet of Things
C语言空白符、空格符 与转义字符题点总结
ZZULIOJ 1116 删除元素【删】
哈希表,哈希桶的实现
2022.8.7-----leetcode.636
String interception function in SQL
「业务架构」TAGAF建模:业务服务/信息图
[Concept of Theory of Knowledge] "Progress in the Theory of Reason" University of Leuven 2022 latest 220-page doctoral dissertation
database constraints
高通 msm8953 LCD 休眠/唤醒 流程
【Azure云】服务端点和私有链接有什么区别?观点(1)
Matlab符号函数的生成及计算其函数值