将spring的版本从4.3.5.RELEASE升级到4.3.9.RELEASE之后,出现java.lang.NoClasjava.lang.NoClassDefFoundError:com/fasterxml/jackson/core/JsonProcessingException异常
解决方法,在pom.xml文件添加如下依赖:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.7.4</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.7.4</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.7.4</version>
</dependency>