Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
程序员文章站
2022-06-05 17:21:43
最近整合SSM框架,使用Jackson组件时,出现了问题,具体描述如下: 查找了一下资料,发现出现Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackso ......
最近整合ssm框架,使用jackson组件时,出现了问题,具体描述如下:
查找了一下资料,发现出现constructor threw exception; nested exception is java.lang.noclassdeffounderror: com/fasterxml/jackson/databind/exc/invaliddefinitionexception的根本原因在于jar包,我的ssm都是基于5.0.4版本的jar,导入的jackson的jar版本过低造成出现该异常。
现在就ok了。。。
上一篇: c# 读写SerialPort
下一篇: 程序处理存放图片的几种方式
推荐阅读
-
Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
-
JSON parse error: Can not deserialize instance of java.lang.String out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.JsonM
-
Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
-
JSON parse error: Can not deserialize instance of java.lang.String out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.JsonM
-
nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper