![]() |
#2
GrayJerry2019-04-22 09:32
|
只有本站会员才能查看附件,请 登录
然后我的maven Dependences里面的jar包是jackson-core2.8.7,里面也有DefaultInndenter.class,但是jackson-core2.4.2里面没有这个类,
只有本站会员才能查看附件,请 登录
我启动tomcat7:run时,就报找不到DefaultInndenter这个类 ,这是怎么回事
java.lang.ClassNotFoundException: com.fasterxml.jackson.core.util.DefaultIndenter
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/util/DefaultIndenter