title: springboot Can not deserialize-HttpMessageNotReadableException
body: <p>I am trying to read json in my spring boot project.</p>
  
  <p>My JSON data is as follows:</p>
  
  <pre><code>[{
      "userId":"101"
  },
  {
      "partNum":"aaa"
  },
  {
      "partNum":"bbb"
  },
  {
      "partNum":"ccc"
  }]
  </code></pre>
  
  <p>I have created a DTO class:</p>
  
  <pre><code>public class TcPartDto {
      private String userId;
      private List&lt;String&gt; partNum;
  
      public String getUserId() {
          return userId;
      }
      public void setUserId(String userId) {
          this.userId = userId;
      }
      public List&lt;String&gt; getPartNum() {
          return partNum;
      }
  }
  </code></pre>
  
  <p>And I am calling it in my Controller as follows:</p>
  
  <pre><code>@RequestMapping(value = "/volumeinfo", method = RequestMethod.POST, consumes = {"application/json"}, produces = {"application/json"})
  @ResponseBody
  public List&lt;TcPartVolumeDto&gt; volumeinfo(@RequestBody TcPartDto partList) throws Exception {
      return tcService.fetchVolumeInfo(partList);
  }
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <p>Through <strong>Postman</strong> I get this error:</p>
  
  <blockquote>
    <p>"Could not read document: Can not deserialize instance of
    tc.service.model.TcPartDto out of START_ARRAY token\n at [Source:
    java.io.PushbackInputStream@5359141a; line: 1, column: 1]; nested
    exception is com.fasterxml.jackson.databind.JsonMappingException: Can
    not deserialize instance of tc.service.model.TcPartDto out of
    START_ARRAY token\n at [Source: java.io.PushbackInputStream@5359141a;
    line: 1, column: 1]"</p>
  </blockquote>
  
  <p>What wrong am I doing?</p>