java.lang.IllegalArgumentException: No converter found for return value of type

后端 未结 20 2119
夕颜
夕颜 2020-11-30 00:04

With this code

@RequestMapping(value = \"/bar/foo\", method = RequestMethod.GET)
    public ResponseEntity foo() {

        Foo model;
        ...         


        
20条回答
  •  孤独总比滥情好
    2020-11-30 00:35

    I also experienced such error when by accident put two @JsonProperty("some_value") identical lines on different properties inside the class

提交回复
热议问题