把以前ssm框架中的spring版本改成5.0.3出现 NoClassDefFoundError(jackson)异常

本来想试试最新版本的spring5.0.3,结果出现如下的bug

 Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Constructor threw exception; nested exception is 
java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException

解决办法把jackson版本改成2.8.11版本以上就可以解决如上问题



猜你喜欢

转载自blog.csdn.net/qq_32448349/article/details/79293816