[size=large]解决办法:在项目下找到.project文件,在最后的natures标签加入下面一行代码。[/size]
<natures>
<nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
</natures>