With this code
@RequestMapping(value = \"/bar/foo\", method = RequestMethod.GET) public ResponseEntity foo() { Foo model; ...
I also experienced such error when by accident put two @JsonProperty("some_value") identical lines on different properties inside the class