Referenced file contains errors (http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd). For more information, right click on the message
in the Problems View and select "Show Details..."
我在百度中搜索最多的方法就是window>>>>>>>preferences>>>>>>>xml>>>>>>>>xml files >>>>validation
然后把no grammar specified 改成Ignore,这个方法我只有一次成功过,多少还是会报错的。
所以我感觉可能是自己的jar包冲突了, 于是我就尝试从网上找的hibernate的jar。把原来的jar删除重新导入就好用了。