I was trying to import a sample project in to eclipse and was facing the below given error up on running the application.
Caused by: org.hibernate.MappingExc
You can change .identity by .sequence and it will work:
.identity
.sequence
GeneratedValue(strategy=GenerationType.SEQUENCE)