title: Jackson converting LocalDatetime
body: <p>I've a LocalDateTime field with @JsonFormat </p>
  
  <pre><code>@JsonFormat(pattern = "yyyy-MM-dd'T'hh:mm:ss.SSS'Z'")
  private LocalDateTime dateTime;
  </code></pre>
  
  <p>When Jackson try to parse a date like <strong>2018-11-28T15:24:00.000Z</strong> a exception is throwed</p>
  
  <blockquote>
    <p>com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of java.time.LocalDateTime: no String-argument constructor/factory method to deserialize from String value ('2018-11-28T15:24:00.000Z')</p>
  </blockquote>
  
  <p>In my pom.xml i have:</p>
  
  <ul>
  <li>Spring boot 1.5.7</li>
  <li>jackson-datatype-jdk8</li>
  <li>jackson-datatype-jsr310</li>
  </ul>
  
  <p>My ObjectMapper Bean:</p>
  
  <pre><code>@Bean
  public ObjectMapper postConstruct() {
      return this.builder
             .featuresToDisable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
              .defaultUseWrapper(false)
              .build();
  }
  </code></pre>
  
  <p>I also tried:</p>
  
  <pre><code>@JsonFormat(pattern = "yyyy-MM-dd'T'hh:mm:ss.SSS'Z'", timezone ="UTC")
  private LocalDateTime dateTime;
  </code></pre>