If you are using a maven project, add the following to POM.xml
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.1.2</version> </dependency>
But if you are using a simple java project, you need to add the following jars to your class path:
jackson-core-2.1.X, jackson-databind-2.1.X
source share