org.hibernate.DuplicateMappingException: dupicate import
今天在写hibernate的一个简单测试的时候出现了这个问题:org.hibernate.DuplicateMappingException: dupicate import: Customer refers to both
com.sgg.hibernate.entities.n21.both.Customer and 我感觉应该是类名的问题,然后在我改了类名后,这个错误就消失了。原来
原创
2016-08-16 00:55:08 ·
588 阅读 ·
1 评论