>Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
来源:互联网 发布:淘宝2元包邮 编辑:程序博客网 时间:2024/06/03 18:58
问题 web 项目中 打开 hibernate.cfg.xml 文件时 提示:The project is not a myEclipse hibernate project。
并且:在 dbbrower中使用 hibernate reverse engineering 建立 表对应的bean 和 配置文件时:找不到可用的javasource路径。
原因:
使用版本控制的时候,工程根目录下的: .project 和 .myhibernatedata 文件不在版本控制范围内,因此组内成员更新source后,缺少
.project 内的 <nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
和
.myhibernatedata 文件。
解决;
项目名上右键--〉myeclipse-->add hibernate capabilites -->next-->hibernate config file --> existing -->选择现有工程存在的hibernate配置文件--> next --> 不生成factory class --> end
PS:转自http://blog.csdn.net/ice0river/archive/2008/08/23/2817486.aspx
- >Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- >Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- The project is not a myEclipse hibernate project
- The project is not a myEclipse hibernate project
- The project is not a myEclipse hibernate project
- The project is not a myEclipse hibernate Project
- The project is not a myEclipse hibernate project
- This project is a not MyEclipse Hibenate project assuming hibernate3 capabilites for
- web 项目中打开 hibernate.cfg.xml 文件时 提示:The project is not a myEclipse hibernate project
- web 项目中 打开 hibernate.cfg.xml 文件时 提示:The project is not a myEclipse hibernate project
- Ant基本使用指南(二)
- oracle绑定变量
- mySQL 忘记root 密码 修改方法
- DevExpress ASPxGridView 使用文档四:数据源
- 幣別數值顯示(例:JPY,數據庫讀出是100,需要轉10000)
- >Hibernate 报错:this project is not a myeclipse hibernate project . assuming hibernate 3 cap
- STM32F10x外部中断释疑
- ant组成的参数列表
- DevExpress ASPxGridView 使用文档五:事件
- MFC中设置静态文本的字体颜色、背景透明以及解决字体重叠
- 链表实现
- DevExpress ASPxGridView 使用文档六:模板
- Gcc 编译错误汇总
- Sql中判断“数据库"、"表"、"临时表"、"存储过程"和列”是否存在