In eclipse Im getting the error "No generator named "system-uuid" is defined in the persistence unit"
@Id
@GenericGenerator(name = "system-uuid", strategy = "uuid2")
@GeneratedValue(generator = "system-uuid")
private String userId;
Previous posts have asked the same question and the answer has been to turn off this error in eclipse ? but this isnt possible in the version of eclipse I'm using (mars) and Id really like to know the cause of this.