错误如下:This Project is not a MyEclipse Hibernate Project. Assuming Hibernate 3 capabilites for the configuration editor.是哪里错了。

解决方案 »

  1.   

    你没给自己的工程添加Hibernate 3 capabilites
      

  2.   

    但是已经有hibernate.cfg.xml文件了
      

  3.   

    你添加一下hibernate开发框架
    还有你手动搭建的Hibernate环境吧
    真不行就使用工具自动生成就没有这个问题了
    你试试
      

  4.   

    hibernate.cfg.xml文件是Hibernate的配置文件
    即使在没有hibernate capabilites 的ide中
    这个文件也是必不可少的
    换句话说:hibernate.cfg.xml文件与这个问题一点关系都没有
    在 myeclipse  中 选中项目 右键 添加hibernate支持
      

  5.   

    我遇到过这个问题
    你在myeclipse中给工程添加hibernate支持
    重新生成一个hibernate.cfg.xml
      

  6.   

    自己用myeclipse添加一个空的hibernate容器, 再写入property