title: Jackson 2.3.2: Issue with deserializing a Date despite of setting the date format to ObjectMapper
body: <p>I am using rest easy and want to serialize and deserialize dates.</p>
  
  <p>After creating my json provider, Serializing is working fine but deserializing is still not working.</p>
  
  <p>My JsonProvider class:</p>
  
  <pre><code>@Provider
  @Produces(MediaType.APPLICATION_JSON)
  public class JsonProvider extends JacksonJaxbJsonProvider {
  
     public JsonProvider() {
  
        ObjectMapper mapper = new ObjectMapper();
        mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
        mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
        mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
        mapper.setDateFormat("dd MMM, yyyy hh:mm:ss a";
  
        super.setMapper(mapper);
     }
  }
  </code></pre>
  
  <p><strong>Input date</strong>: 09 Sep, 2014 11:00:00 AM</p>
  
  <p><strong>Error:</strong>
  com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.util.Date from String value '09 Sep, 2014 11:00:00 AM': <strong>not a valid representation</strong> (error: Failed to parse Date value '09 Sep, 2014 11:00:00 AM': <strong>Can not parse date "09 Sep, 2014 11:00:00 AM"</strong>: not compatible with any of standard forms ("yyyy-MM-dd'T'HH:mm:ss.SSSZ", "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", "EEE, dd MMM yyyy HH:mm:ss zzz", "yyyy-MM-dd"))</p>
  
  <p>I came across <a href="https://stackoverflow.com/questions/5591967/jackson-date-deserialization">this</a> workaround but if I use this then I have to annotate every date field in my app which I feel is an overhead.</p>
  
  <p>I am not able to figure out what I am doing wrong.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks.</p>