title: Can not instantiate value of type [simple type, class java.time.LocalDate] from String value
body: <p>I have a class like this:</p>
  
  <pre><code>@Data
  @NoArgsConstructor(force = true)
  @AllArgsConstructor(staticName = "of")
  public class BusinessPeriodDTO {
      @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
      LocalDate startDate;
      @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
      LocalDate endDate;
  }
  </code></pre>
  
  <p>And I used this class inside another class, let's call it <code>PurchaseOrder</code></p>
  
  <pre><code>@Entity
  @Data
  @NoArgsConstructor(access = AccessLevel.PROTECTED, force = true)
  public class PurchaseOrder {
      @EmbeddedId
      PurchaseOrderID id;
  
      @Embedded
      BusinessPeriod rentalPeriod;
  
      public static PurchaseOrder of(PurchaseOrderID id, BusinessPeriod period) {
          PurchaseOrder po = new PurchaseOrder();
          po.id = id;
  
          po.rentalPeriod = period;
  
          return po;
      }
  </code></pre>
  
  <p>And I'm trying to populate a purchaseOrder record using jakson and this JSON:</p>
  
  <pre><code> {
       "_class": "com.rentit.sales.domain.model.PurchaseOrder",
       "id": 1,
       "rentalPeriod": {
           "startDate": "2016-10-10",
           "endDate": "2016-12-12"
       }
   }
  </code></pre>
  
  <p>But I have faced with an error:</p>
  
  <blockquote>
    <p>java.lang.RuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class java.time.LocalDate] from String value ('2016-10-10');</p>
  </blockquote>
  
  <p><strong>I am sure jakson and popularization works correctly.</strong></p>