Page 1 of 1

org.hibernate.DuplicateMappingException: Duplicate class/en

PostPosted: Mon Jul 09, 2012 9:50 am
by haretu
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping project
I had this error
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping project.hibernate.User
and I was searching on Internet about that.

reason 1: duplicate entry in sessionfactory bean define.

reason 2: mismatch name in .hb.xml and its pojo java