I have the following configuration:
I faced the same error.I solved it and figured out i didn't put @Id annotations in id field in my Entity class.
@Entity @Table(name="geonames") public class Geoname implements Serializable { @Column(name="geonameid") private Long geonameid = null; }