1.1、异常描述

Description Resource    Path    Location    Type
Class 'org.springframework.http.converter.json.MappingJacksonHttpMessageConverter' not found [config set: testweba/web-context] spring-mvc.xml
/testweba/src/main/resources    line 13 Spring Beans Problem

1.2、原因分析

Spring3升级到Spring4时, 运行时出现找不到MappingJacksonHttpMessageConverter的情况
原因是Spring 3.x 和4.X处理JSON的一个类不一样,而这个东西又配置在xml文件中,所以编译时又无法发现

1.3 解决办法

spring3.x是org.springframework.http.converter.json.MappingJacksonHttpMessageConverter

spring4.x是org.springframework.http.converter.json.MappingJackson2HttpMessageConverter

  1. 查找替换所有XML中名字
  2. 同时加入最新的FastJackson依赖

2.1 异常描述

Description Resource    Path    Location    Type
Build path is incomplete. Cannot find class file for com/fasterxml/jackson/core/JsonGenerator   spring-mvc.xml  /testweba/src/main/resources    line 13 Spring AOP Problem

2.2 原因分析

Spring 4.x 需要依赖的相关FastJackson jar

2.3 解决办法

<dependency><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-core</artifactId><version>2.8.5</version></dependency><dependency><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-databind</artifactId><version>2.8.5</version></dependency><dependency><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-annotations</artifactId><version>2.8.5</version></dependency>'''

关于问题The fully qualified name of the bean's class, except if it serves only as a parent definition fo相关推荐

  1. The fully qualified name of the bean‘s class, except if it serves only as a parent definition for ch

    报错: Attribute : class The fully qualified name of the bean's class, except if it serves only as a pa ...

  2. The fully qualified name of the bean's class, except if it serves only as a parent definition ...

    spring工程在配置configuration.xml文件时,提示这个错误: The fully qualified name of the bean's class, except if it s ...

  3. 在Spring中注册组件时报错:The fully qualified name of the bean's class, except if it serves only as a parent d

    问题:我在注册组件时报错The fully qualified name of the bean's class, except if it serves only as a parent defin ...

  4. 已解决:sts报错The fully qualified name of the bean's class, except if it serves only as..

    我使用的ide为Spring Tools 4:在构建spring的项目进行bean的配置时,突然出现如下图所示错误: 翻译为bean类的命名必须是完全限定的,除非它是子类bean的父类描述. ---- ...

  5. 黑马的ssm课程中class报错:Description : The fully qualified name of the bean‘s class, except if it serves onl

    黑马的ssm课程中class报错 <bean id="userDao" class="com.itheima.dao.impl.UserDaoImpl"& ...

  6. Apache启动时报Could not reliably determine the server's fully qualified domain name

    在系统启动时apache,没有启动起来,查看"事件查看器"发现报一些错误: The Apache service named  reported the following err ...

  7. Could not reliably determine the server's fully qualified domain name

    启动apache报错: [root@namenode1 ]# service httpd start Starting httpd: httpd: Could not reliably determi ...

  8. Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name 解决

    原文地址: http://digitaldeviation.com/articles/linux/apache-error-could-not-reliably-determine-the-serve ...

  9. ktor启动报错:Module function cannot be found for the fully qualified name 'ApplicationKt.module'

    背景 使用Ktor开发服务端,启动时报错: Exception in thread "main" java.lang.ClassNotFoundException: Module ...

最新文章

  1. 用Scrum敏捷开发工具Leangoo做Sprint迭代管理
  2. R 语言常用操作与函数汇总
  3. 【LeanEAP.NET】精益企业应用平台---源码Demo下载
  4. 数组的相关操作2——筛选数组
  5. 计算机应用基础2004年,计算机应用基础2004年下半年全国试题参考答案2
  6. 岗位内推 | 字节跳动招聘NLP、计算机视觉、推荐算法实习生
  7. 大数据平台蓝图_数据科学面试蓝图
  8. 若川诚邀你加源码共读群,每周一起学源码
  9. 11选5下期算法_双色球 133期预测 132中奖5+1
  10. 【数论】21蓝桥:货物摆放
  11. ubuntu 中 notepad 安装
  12. Real-Time Rendering——18.5 Multiprocessing多处理
  13. DELMIA软件:机器人与行走轴联动实现长焊缝弧焊焊接虚拟仿真
  14. 安装到到setup support files时,SQL2008安装程序自动消失掉。
  15. 欧式香草期权(普通看涨、看跌)的定价公式及实现
  16. 关于STM32利用TIM+PWM+DMA控制WS2812
  17. 多收了三五斗-PB程序员版
  18. 股市第一赌局:百万赌金 侯宁催账叶荣添准备买单
  19. 如何将网络上的共享文件映射到本地
  20. ACM-ICPC 2018 南京赛区网络预赛 E. AC Challenge(状压dp)

热门文章

  1. CC2640软件架构
  2. 2022-07-26 微信服务商
  3. es中java代码高亮显示_ElasticSearch如何设置返回结果关键词高亮显示-Fun言
  4. 时间序列预测01:如何将时间序列预测转化为监督学习问题
  5. 免费rar/zip解压缩工具BandZip
  6. 一道发源于游戏中的数列题(求项数最大值)
  7. 归并排序及python递归实现
  8. 高视医疗更新招股书:年营收13亿 OrbiMed是股东
  9. 中等职业学校计算机课程标准,中等职业学校数学课程标准
  10. 解决eclipse新建Android项目出现红色感叹号问题