org.hibernate.cfg.AnnotationConfiguration报错
来源:互联网 发布:iphone mac 互传文件 编辑:程序博客网 时间:2024/06/10 18:49
Caused by: org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class [org.hibernate.cfg.AnnotationConfiguration]: Constructor threw exception; nested exception is java.lang.NoSuchFieldError: INSTANCE
网上查找了原因,原来要到tomcat里的webapps里删掉项目的hibernate-annotations.jar;hibernate-commons-annotations.jar;保留hibernate3.jar就行了。
不过在myeclipse的文件夹只有hibernate3.jar。
在myeclipse里tomcatserver。重新Redeploy一次,webapp文件夹就要重复生成一次,得不停的删
0 0
- org.hibernate.cfg.AnnotationConfiguration报错
- hibernate 3.1使用(import org.hibernate.cfg.AnnotationConfiguration;)出错
- java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.setProperty解决方案
- java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.AnnotationConfiguration
- JBoss启动报错org.hibernate.cfg.annotations.SimpleValueBinder.setType
- hibernate.cfg.xml报错原因之一
- "org.hibernate.MappingException: An AnnotationConfiguration instance is... " 异常解决
- org.hibernate.MappingException: An AnnotationConfiguration instance is required
- org.hibernate.MappingException: An AnnotationConfiguration instance is required
- 使用 Anotation 注释出现Exception org.hibernate.MappingException: An AnnotationConfiguration。。。
- org.hibernate.cfg.Configurations 详析
- org/hibernate/cfg/HbmBinder$SecondPass
- org.hibernate.cfg.Environment.java
- org.hibernate.cfg.Configuration.java
- 报错:org.hibernate.StaleStateException
- org.hibernate.StaleStateException报错
- org.hibernate.Session报错
- org.hibernate.MappingException报错
- 图解现代软件工程中的团队和流程
- Json格式的遍历(不错的判断方式)
- [WebApi] 捣鼓一个资源管理器--数据库辅助服务器文件访问
- Android提供的LruCache类简介
- vim中撤销撤销操作
- org.hibernate.cfg.AnnotationConfiguration报错
- 2015年的9大企业级技术发展趋势
- Raspberry Pi OpenCV,在树莓派上使用python opencv
- 软件工程,开发模型,软件开发流程
- Cognos审计模块(三)- 审计模块示例引入
- 用nodejs搭建最简单、轻量化的http server
- 高编头文件apue.h的配置方法
- Git@OSC 的 Android 和 iOS 客户端全面开源
- WebApp之Meta标签