关于问题The fully qualified name of the bean's class, except if it serves only as a parent definition fo
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
- 查找替换所有XML中名字
- 同时加入最新的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相关推荐
- 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 ...
- 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 ...
- 在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 ...
- 已解决:sts报错The fully qualified name of the bean's class, except if it serves only as..
我使用的ide为Spring Tools 4:在构建spring的项目进行bean的配置时,突然出现如下图所示错误: 翻译为bean类的命名必须是完全限定的,除非它是子类bean的父类描述. ---- ...
- 黑马的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"& ...
- Apache启动时报Could not reliably determine the server's fully qualified domain name
在系统启动时apache,没有启动起来,查看"事件查看器"发现报一些错误: The Apache service named reported the following err ...
- Could not reliably determine the server's fully qualified domain name
启动apache报错: [root@namenode1 ]# service httpd start Starting httpd: httpd: Could not reliably determi ...
- 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 ...
- ktor启动报错:Module function cannot be found for the fully qualified name 'ApplicationKt.module'
背景 使用Ktor开发服务端,启动时报错: Exception in thread "main" java.lang.ClassNotFoundException: Module ...
最新文章
- 用Scrum敏捷开发工具Leangoo做Sprint迭代管理
- R 语言常用操作与函数汇总
- 【LeanEAP.NET】精益企业应用平台---源码Demo下载
- 数组的相关操作2——筛选数组
- 计算机应用基础2004年,计算机应用基础2004年下半年全国试题参考答案2
- 岗位内推 | 字节跳动招聘NLP、计算机视觉、推荐算法实习生
- 大数据平台蓝图_数据科学面试蓝图
- 若川诚邀你加源码共读群,每周一起学源码
- 11选5下期算法_双色球 133期预测 132中奖5+1
- 【数论】21蓝桥:货物摆放
- ubuntu 中 notepad 安装
- Real-Time Rendering——18.5 Multiprocessing多处理
- DELMIA软件:机器人与行走轴联动实现长焊缝弧焊焊接虚拟仿真
- 安装到到setup support files时,SQL2008安装程序自动消失掉。
- 欧式香草期权(普通看涨、看跌)的定价公式及实现
- 关于STM32利用TIM+PWM+DMA控制WS2812
- 多收了三五斗-PB程序员版
- 股市第一赌局:百万赌金 侯宁催账叶荣添准备买单
- 如何将网络上的共享文件映射到本地
- ACM-ICPC 2018 南京赛区网络预赛 E. AC Challenge(状压dp)