I am using Java Callout policy where i am intending to populate the Java POJO objects using Jackson databinding based on the JSON service callout response.
I have noticed that as soon as i import Jackson ObjectMapper dependency as follows :
import com.fasterxml.jackson.databind.ObjectMapper
I start getting following error while deployment :
The revision is deployed, but traffic cannot flow. Failed to instantiate the JavaCallout Class apigee.test.TestJavaProject
I have added the required jackson dependency jars & the Java code works perfectly fine in Eclipse in standalone mode.
Following are my dependency jars :
The ObjectMapper class is part of jackson-databind-2.6.3.jar.
Can you please help me fix this issue ?