title: The request sent by the client was syntactically incorrect using @DateTimeFormat
body: <p>I have a JSON formatted String which I send with a HTTP-PUT to a server with Spring MVC and Hibernate.</p>
  
  <p><code>Controller</code>:</p>
  
  <pre><code>@RequestMapping(value = "/", method = RequestMethod.PUT)
  public ResponseEntity&lt;Map&lt;String, Object&gt;&gt; myTest(
          @RequestHeader("a") String a,
          @RequestBody MyTestClass b) { … }
  </code></pre>
  
  <p><code>JSON</code>:</p>
  
  <pre><code>{
   "number":"123",
   "test":"11/14"
  }
  </code></pre>
  
  <p><code>test</code> is a java.util.Date (MySQL -> date) and I annotated the POJO like this:</p>
  
  <pre><code>@Column(name = "TEST")
  @DateTimeFormat(pattern = "MM/yy")
  private Date test;
  </code></pre>
  
  <p>So <code>test</code> should be formatted as month/year. But I tried it with Firefox RESTClient and I always get 
  <code>The request sent by the client was syntactically incorrect.</code> Removing <code>test</code>, everything is okay and works as expected.</p>
  
  <p>So it seems, that with <code>@DateTimeFormat(pattern = "MM/yy")</code> is something wrong?</p>