Spring Data Rest 2.1.0 Cannot POST or PUT Complex Resource
问题 EDIT: This appears to be happening with PUTs as well. Using spring-data-rest-webmvc version 2.1.0.BUILD-SNAPSHOT I have found that I am unable to POST a resource with a relation pointing to an already existing resource. I have 2 such entities which require references to be instantiated and POSTing to either of their endpoints results in the behavior below. POSTing a resource without required references works well. I did a bit of digging and it appears that