你的文件要写上如下语句
<!DOCTYPE hibernate-mapping PUBLIC "-Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
然后myeclipse里面找windows/preferences/myeclipse/files and editors/xml/xml files/xml catalog,右侧上方有一个add,点一下,key type选择URI,一定要选uri,然后在下面的key位置写上你hibernate3.jar解压后里面的hibernate-configuration-3.0.dtd文件的位置,就是形如D:\Mcode\hibernate这种地址,就可以了
可以是可以了,但是又遇到解析不了的问题。。。
今天也是收获满满的一天~