java.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonProcessingException 解决
报java.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonProcessingException
异常时
1、首先查看maven中是否添加了以下依赖
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.8</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.8</version>
</dependency>
2、查看 project structure 中的 Libraries项 看是否添加成功
3、查看 project structure 中的 Artifacts
到这里问题就应该解决了!
补充:org.springframework.beans.factory.BeanCreationException
也可以考虑此方式!