java.lang.IllegalArgumentException: No converter found for return value of type
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>
The problem was that one of the nested objects in Foo
didn't have any getter/setter