当前位置:网站首页>Regarding the missing json converter, the error message is: No converter found for return value of type
Regarding the missing json converter, the error message is: No converter found for return value of type
2022-08-10 10:24:00 【51CTO】
<This blog is just for my own learning record,The solution is a combination of various solutions and methods on the Internet,After the final practice is resolved,Use as a memo.>
报错内容如下:
nested exception is java.lang.IllegalArgumentException: No converter found for return value of type: class java.XXX.XXX
no nonsense, The reasons for this problem may include the following two:
①springMVC的配置文件
dispatcherServlet-servlet.xml
里面没有对jsonConfiguration information for the converter.
②json的三个jar包导入
①的解决方案,在dispatcherServlet-servlet.xml
②的解决方案: Install the above mentionedjar包,下载导入即可. mavenItems are copied and pasted directlypom.xml文件里面即可.
边栏推荐
- 「业务架构」TAGAF建模:业务服务/信息图
- PPT | 「课件」企业中高层人员安全管理培训(118页)
- [Concept of Theory of Knowledge] "Progress in the Theory of Reason" University of Leuven 2022 latest 220-page doctoral dissertation
- ELK框架搭建[通俗易懂]
- CSDN 21 Days Learning Challenge - Polymorphism (05)
- 讯飞翻译机抢镜背后,跨语种沟通迈入全新时代
- VBA: 遍历文件抓取指定条件的数据
- ESP8266 教程2 — 烧录AT固件
- Numpy学习
- LeetCode Algorithm 1403. 非递增顺序的最小子序列
猜你喜欢
随机推荐
「时序数据库」使用cassandra进行时间序列数据扫描
Singleton pattern base class
String interception function in SQL
【Software Exam System Architect】Case Analysis ⑥ Web Application System Architecture Design
dos环境下操作mysql
[C language] Header file #include
, conio is Console Input/Output (console input and output) 《MySQL高级篇》六、索引的创建与设计原则
解决ASP.NET Core在Task中使用IServiceProvider的问题
Property animation QPropertyAnimation
2022.8.8-----leetcode.761
对话陈赐靓:哪吒要让高端产品大众化
C语言空白符、空格符 与转义字符题点总结
[Concept of Theory of Knowledge] "Progress in the Theory of Reason" University of Leuven 2022 latest 220-page doctoral dissertation
WebView2 通过 PuppeteerSharp 实现爬取 王者 壁纸 (案例版)
细说Redis监控和告警
「敏捷建模」纪律:敏捷设计理念
2022.8.7-----leetcode.636
JS高级 之 Promise 详解
bus事件总线 使用
Excel draws statistical graphs