本来想试试最新版本的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版本以上就可以解决如上问题