用myeclipse手动添加hibernate3时,打开hibernate.cfg.xml时总是提示The project is not a myEclipse hibernate project.....烦。后来通过网上查询得知在工程中的.project中添加就不再提示。
<natures>
<nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
</natures>
用myeclipse手动添加hibernate3时,打开hibernate.cfg.xml时总是提示The project is not a myEclipse hibernate project.....烦。后来通过网上查询得知在工程中的.project中添加就不再提示。
<natures>
<nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
</natures>