Because I annotated the id on the getter method and annotated one-to-many on the attribute, resulting in this error
Finally, I found that the location of the @ annotation: either all annotations are on the property name, or all the annotations are on the getter method! !