title: Jackson failed to deserialization OneToMany objects
body: <p>I have faced with the problem that converter can't handle JSON object.</p>
  
  <p>I have two objects in data base. Relationship OneToMany.</p>
  
  <p>I have a AutoService with many services.</p>
  
  <p>And wnen i am trying to send JSON object using postman to my server - I am getting an error: </p>
  
  <pre><code>WARN org.springframework.http.converter.json.MappingJackson2HttpMessageConverter - Failed to evaluate Jackson deserialization for type [[simple type, class com.webserverconfig.user.entity.AutoService]]: java.lang.IllegalArgumentException: Can not handle managed/back reference 'defaultReference': no back reference property found from type [collection type; class java.util.List, contains [simple type, class com.webserverconfig.user.entity.Service]]
  </code></pre>
  
  <p>Next two classes represents my model:</p>
  
  <p>Class AutoService:</p>
  
  <pre><code>@Entity
  @Table(name = "AutoRate")
  public class AutoService {
  
      public AutoService() {
      }
  
      @Id
      @GeneratedValue(generator = "increment")
      @GenericGenerator(name = "increment", strategy = "increment")
      private long id;
  
      @Column(name = "serviceName", nullable = false)
      private String serviceName;
  
      @Column(name = "imageURL", nullable = false)
      private String imageURL;
  
      @Column(name = "mapCoordinate", nullable = false)
      private String mapCoordinate;
  
      @Column(name = "websiteURL", nullable = false)
      private String websiteURL;
  
      @Column(name = "phoneNumber", nullable = false)
      private String phoneNumber;
  
      @JsonManagedReference
      @OneToMany(fetch = FetchType.EAGER)
      @JoinColumn(name = "autoServiceId")
      private List&lt;Service&gt; services;
  
      public long getId() {
          return id;
      }
  
      public String getServiceName() {
          return serviceName;
      }
  
      public String getImageURL() {
          return imageURL;
      }
  
      public String getMapCoordinate() {
          return mapCoordinate;
      }
  
      public String getWebsiteURL() {
          return websiteURL;
      }
  
      public String getPhoneNumber() {
          return phoneNumber;
      }
  
      public List&lt;Service&gt; getServices() {
          return services;
      }
  }
  </code></pre>
  
  <p>Class service:</p>
  
  <pre><code>@Entity
  @Table(name = "Service")
  public class Service {
  
      public Service() {
      }
  
      @Id
      @GeneratedValue(generator = "increment")
      @GenericGenerator(name = "increment", strategy = "increment")
      @Column(name = "serviceId", unique = true, nullable = false)
      private long serviceId;
  
      @Column(name = "serviceName", nullable = false)
      private String serviceName;
  
      @Column(name = "category", nullable = false)
      private String category;
  
      @Column(name = "price", nullable = false)
      private int price;
  
      @Column(name = "autoServiceId", nullable = false)
      private long autoServiceId;
  
      public long getId() {
          return serviceId;
      }
  
      public String getCategory() {
          return category;
      }
  
  
      public int getPrice() {
          return price;
      }
  
      public String getServiceName() {
          return serviceName;
      }
  
      public long getAutoServiceId() {
          return autoServiceId;
      }
  }
  </code></pre>
  
  <p>Asking for help. Am i missing some annotation ? </p>
  
  <p>Also Controller class:</p>
  
  <pre><code>@RestController
  @RequestMapping("/directory")
  public class ServiceController {
  
      @Autowired
      private AutoRateService dataBaseService;
  
      @RequestMapping(value = "/get", method = RequestMethod.GET)
      @ResponseBody
      public AutoService getData(){
          AutoService dataList = dataBaseService.getById(1);
          return dataList;
      }
  
      @RequestMapping(value = "/saveService", method = RequestMethod.POST)
      @ResponseBody public AutoService saveAutoService(@RequestBody AutoService autoService){
          return dataBaseService.save(autoService);
      }
  }
  </code></pre>