title: Spring MVC: jackson-mapper-asl not work with Spring 4
body: <p>I am trying to convert List of objects into json with the help of <code>jackson-mapper-asl</code> libraries, but in response i got http <code>406</code> error. <code>jackson-mapper-asl</code> libraries are on my class path. Following is my Spring MVC controller code: </p>
  
  <pre><code>@RequestMapping(value="/find-sub-categories/{parentId}", method=RequestMethod.GET)
  @ResponseBody public List&lt;ProductCategory&gt; findSubCategories(@PathVariable(value="parentId") ProductCategory productCategory) {
      logger.info("In ADMIN findSubCategories Contoller AJAX GET");
  
      List&lt;ProductCategory&gt; categories = productCategoryService.findAllChildProductCategoriesByParent(productCategory);
      return categories;
  }
  </code></pre>
  
  <p>My Ajax request code: </p>
  
  <pre><code>$.ajax({
              url: url+"/"+parentId,
              type: 'GET',
              success: function(result) {
                  var arr = $.parseJSON(result);
  ----------------------- 
  </code></pre>