title: Cannot instantiate a POJO with jackson 3+ with builder pattern
body: <p>I have the following class:</p>
  
  <pre><code>@JsonDeserialize(builder = Article.Builder.class)
  public class Article {
  
      private final String id;
      private final String headline;
  
      private Article(final Builder builder) {
          this.id = checkNotNull(builder.id);
          this.headline = checkNotNull(builder.headline);
      }
  
      @Nonnull
      public String getId() {
          return id;
      }
  
      @Nonnull
      public String getHeadline() {
          return headline;
      }
  
      public static Builder builder() {
          return new Builder();
      }
  
      @JsonPOJOBuilder(buildMethodName = "build", withPrefix = "")
      public static class Builder {
          private String id;
          private String headline;
  
          public Builder id(final String id) {
              this.id = id;
              return this;
          }
  
          public Builder headline(final String headline) {
              this.headline = headline;
              return this;
          }
  
          public Article build() {
              return new Article(this);
          }
      }
  
  }
  </code></pre>
  
  <p>With these annotation I can serialize and deserialize the object using the Jackson ObjectMapper, but I receive an error when using Article in the following controller:</p>
  
  <pre><code>@RequestMapping(value = "/article/{category}", method = PUT)
  public void receiveArticle(@PathVariable("category") final String category, final Article article) {
      service.createOrUpdateArticle(category, article);
  }
  </code></pre>
  
  <p>calling it with this URL:</p>
  
  <pre><code>http://localhost:8080/article/cat_1/?article={"id":"aid001","headline":"this is the headline"}
  </code></pre>
  
  <p>this is the error:</p>
  
  <pre><code>HTTP Status 500 - Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.example.Article]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.example.Article.&lt;init&gt;()
  
  java.lang.NoSuchMethodException: com.example.Article.&lt;init&gt;()
  java.lang.Class.getConstructor0(Class.java:2892)
  ...
  </code></pre>
  
  <p>I followed this tutorial to use the Builder Pattern: <a href="http://wiki.fasterxml.com/JacksonFeatureBuilderPattern" rel="nofollow">http://wiki.fasterxml.com/JacksonFeatureBuilderPattern</a></p>
  
  <p>Anybody have an idea why I get this error?</p>