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。
- 浏览: 40796 次
相关推荐
at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1885) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1843) at org.hibernate.cfg.Configuration...
hibernate.cfg.xml hibernate框架的配置文件
org.hibernate.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel. org.hibernate.classic This package implements backward-...
org.hibernate.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel. org.hibernate.classic This package implements backward-...
at org.hibernate.cfg.Mappings.addTable(Mappings.java:120) at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:251) at org.hibernate.cfg.HbmBinder.bindRootClass...
2.1、将“hibernate\hibernate.cfg.xml”拷贝到“\WEB-INF\classes”文件夹下,替换原先的文件。 2.2、打开此文件,将“<property name="hibernate.connection.url">jdbc:sqlite:D:/EGSDatabase.egsdata”一行中的...
化妆品卫生安全培训.pptx.baiduyun.uploading.cfg
化妆品工艺.pptx.baiduyun.uploading.cfg
高级Hibernate4开发技术:ORM思想,hibernate介绍,hibernate.cfg.xml配置,hbm.xml映射文件详解,主键生成策略使用,PO对象状态及状态的转换分析、一级缓存,Hibernate数据检索技术,Hibernate高级映射技术,...
myeclipse的自带hibernate jar包不支持注解;自己找的hibernate注解所需的jar包:hibernate-core;hibernate-annotation;hbm-cfg-xml;log4j.properties
solr的IK分词器JAR及配置文件 jar包和配置文件的放置位置不一样,详情可搜索 IK Analyzer 是一个开源的,基于java语言开发的轻量级的中文分词工具包。...org.wltea.analyzer.lucene.IKAnalyzer jar
D:\ctce_cfg.exe 1 ctce8_SA1456C.cfg ctce8_HG8145C.gz fopen(ctce8_SA1456C.cfg,rb) failed E:\加密.bat D:\ctce_cfg.exe 0 ctce8_SA1456C.cfg ctce8_HG8145C.cfg fopen(ctce8_SA1456C.gz,rb) ...
化妆品培训材料.pptx.baiduyun.uploading.cfg
yolov3.weights是训练好的权重文件;yolov3.cfg是神经网络的结构文件;coco.names是算法的类别文件
Hibernate配置文件hibernate.cfg.xml中配置信息详解!
由于spring对hibernate配置文件hibernate.cfg.xml的集成相当好,可以在项目中放弃hibernate.cfg.xml文件,介绍mappingLocations、mappingDirectoryLocations与mappingJarLocations的用法和区别
高级Hibernate4开发技术:ORM思想,hibernate介绍,hibernate.cfg.xml配置,hbm.xml映射文件详解,主键生成策略使用,PO对象状态及状态的转换分析、一级缓存,Hibernate数据检索技术,Hibernate高级映射技术,...
这是Hibernate的配置文件,hibernate.cfg.xml的具体写法,共友友们参考~~谢谢~