title: java.lang.IllegalArgumentException: No converter found for return value of type
body: <p>With this code</p>
  <pre><code>@RequestMapping(value = &quot;/bar/foo&quot;, method = RequestMethod.GET)
      public ResponseEntity&lt;foo&gt; foo() {
  
          Foo model;
          ...
          return ResponseEntity.ok(model);
      }
  }
  </code></pre>
  <p>I get the following exception</p>
  <pre><code>java.lang.IllegalArgumentException: No converter found for return value of type
  </code></pre>
  <p>My guess is that the object cannot be converted to JSON because Jackson is missing. I don't understand why because I thought that Jackson was built in with spring boot.</p>
  <p>Then I have tried to add Jackson to the pom.xml but I still have the same error</p>
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
      &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
      &lt;version&gt;2.4.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
      &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
      &lt;version&gt;2.4.3&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>Do I have to change any spring boot properties to make this work?</p>