在Myeclipse中添加配置更相关xml-显示语法补齐
1. 解压hibernate3.jar
2. 找到\hibernate3\org\hibernate\hibernate-configuration-3.0.dtd
3. 将hibernate-configuration-3.0.dtd放到一个固定的文件夹下,一般放在C:\Program Files\MyEclipse 6.6\dtds下
4. 在Myeclipse下èWindowsèPreferences
5. 选择Add
6. 在Location中选择hibernate-configuration-3.0.dtd所在路径
7. 打开hibernate-configuration-3.0.dtd选择
将上述标记部分 复制到Key下
8. Ok