在web工程中新建一个,Hibetnate项目,打开配置文件报警高错误,This project is not a MyEclipse Hiberbate Project. Assuming Hibernate 3 capabilites for the configuration editor.

打开hibernate文件报警告

解决方法:

右击项目名----MyEclipse-->add hibernate capabilites -->

 

打开hibernate文件报警告

next-->existing 

打开hibernate文件报警告

-->选择现有工程存在的hibernate配置文件--> next -->不选 create SessionFactory Class --> end

打开hibernate文件报警告打开hibernate文件报警告

 

相关文章: