Cannot deserialize value of type `java.util.Date` from String : <p>Using Spring 1.5.8.RELEASE
Jackson mapper giving the following exception.</p>

<pre><code>Cannot deserialize value of type `java.util.Date` from String "2018-09-04T10:44:46": expected format "yyyy-MM-dd'T'HH:mm:ss.SSS"
</code></pre>

<p>at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.copart.conversationapi.calldisposition.model.vo.CallLogEntity["callEndTime"])</p>

<p>CallEntity.java</p>

<pre><code>@JsonProperty("callEndTime")
@Column(name = "call_end_ts")
@JsonFormat(pattern="yyyy-MM-dd'T'HH:mm:ss.SSS")
private Date callEndTime;
</code></pre>

<p>DAO.java</p>

<pre><code>ObjectMapper mapper = new ObjectMapper();
HashMap&lt;String, Object&gt; finalHashMap;
finalHashMap = convertMultiToString(requestMap);
mapper.enable(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY);
CallLogEntity callLogEntity = mapper.convertValue(finalHashMap, CallEntity.class);
</code></pre>

<p>pom.xml</p>

<pre><code>&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.9.0&lt;/version&gt;
     &lt;exclusions&gt;
        &lt;exclusion&gt;
           &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
           &lt;artifactId&gt;jackson-core&lt;/artifactId&gt;
        &lt;/exclusion&gt;
        &lt;exclusion&gt;
           &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
           &lt;artifactId&gt;jackson-annotations&lt;/artifactId&gt;
        &lt;/exclusion&gt;
     &lt;/exclusions&gt;
  &lt;/dependency&gt;
</code></pre>
