On our project, if we add the annotation @ElementCollection on any Entity, eclipse got random errors on entities that not exists, because project runs without problem, if we remove the annotation @ElementCollection the errors disappear.
Examples:
On @Entity annotation the error is: "Name is Empty"
On @ManyToMany the error is: "The attribute type for a collection mapping must be java.util.Collection, java.util.Set, java.util.List or java.util.Map"