I\'m using Jackson sample code to deserialize a POJO:
ObjectMapper m = new ObjectMapper();
This line throws a NoSuchMethodError:
it is beacuse of @RequestBody use different jars for different spring versions : if using spring 4 than have to add different jars :
com.fasterxml.jackson.core
jackson-core
2.4.3
com.fasterxml.jackson.core
jackson-databind
2.4.3
if using spring 3 have to use this jar :
org.codehaus.jackson
jackson-mapper-asl
1.5.0