Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jacks

Posted fearless。

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jacks相关的知识,希望对你有一定的参考价值。

查找了一下资料,发现出现Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException

根本原因在于jar包,我的SSM都是基于5.0.4版本的jar,导入的jackson的jar版本过低造成出现该异常。

 

以上是关于Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jacks的主要内容,如果未能解决你的问题,请参考以下文章

SpringBean instantiation via constructor failed nested exception Constructor threw exception

Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jacks

Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jacks

Failed to instantiate [引用 spring 配置文件的类]: Constructor threw exception; nested exception is java.lang

Quartz:ERROR threw an unhandled Exception

Servlet.service() for servlet jsp threw exception