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

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


The problem was that one of the nested objects in Foo didn't have any getter/setter


Add the below dependency to your pom.xml:

 <dependency>    <groupId>com.fasterxml.jackson.core</groupId>    <artifactId>jackson-databind</artifactId>    <version>2.10.0.pr3</version></dependency>


Add the getter/setter missing inside the bean mentioned in the error message.