The project is not a myEclipse hibernate Project
来源:互联网 发布:网购衣服3d模型知乎 编辑:程序博客网 时间:2024/05/29 01:52
问题 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
- 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
- web 项目中打开 hibernate.cfg.xml 文件时 提示:The project is not a myEclipse hibernate project
- web 项目中 打开 hibernate.cfg.xml 文件时 提示:The project is not a myEclipse hibernate project
- >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
- Project*** is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts
- 在ssh整合中gethibernatetemplate()的空指针
- [游戏技术]求生之路声音文件参数
- shell脚本获取当前ip地址
- rmxp4droidV2.3 Final (Android版RMXP模拟器)
- 思考指针!
- The project is not a myEclipse hibernate Project
- 解决ArcGIS API for Silverlight 加载地图的内外网访问问题
- 平凡的世界
- 软件流程图画法
- GSM 03.38 from Wikipedia
- Android中不同Density下Pixel dip关系探究
- 实现迷宫问题的所有路径及最短路径程序
- Objective-C 属性特性(assign , retain , copy , readonly , readwrite , atomic , nonatomic)
- LUT 3D知识