I get the following exception when i consume a restful webservice using Spring RestTemplate
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
There are many implementations of "REST API" and they conflict with each other. After a lot of time, I resolved it with this configuration:
import com.fasterxml.jackson.annotation.JsonProperty;
...
@JsonProperty("cep")
private String cep;
Must have that JsonProperty with this package not org.codehaus...
com.sun.jersey
jersey-client
1.19
test
In summary: jersey client 1, jackson json property and remove all others jaxrc libs.
Obs:. I used jackson because the container already provided, but, if it works for you, you could test another combinations.