class org.hibernate.cfg.ExtendedMappings has interface org.hibernate.cfg.Mappings as super class

java.lang.IncompatibleClassChangeError: class org.hibernate.cfg.ExtendedMappings has interface org.hibernate.cfg.Mappings as super class

我的问题解决啦!
hibernate3.5中的hibernate3.0包,已经包涵了hibernate-annotations,hibernate-commons-annotations.jar,commons-collections 这三个包,所以你要去掉commons-collections 包试试,
或许就成功了!
我的解决方案就是这样的!

========================
hxzon:
移除hibernate-annotations,hibernate-commons-annotations.jar,成功。
移除了persistence.jar和ejb3-persistence.jar,添加了hibernate-jpa-2.0-api-1.0.0.Final.jar。

你可能感兴趣的:(Hibernate)