window--》preferences--》MyEclipse--》Files and Editors--》XML--》XML Catalog
1)点击ADD
Location:点击浏览--》找到.xsd或.dtd文件 填写到location一栏中
3)Key Type 为Schema Lcation(.xsd)
Key Type:选择URL(.dtd)
4)Key :在给出的字符串后添加 --> /spring-beans-2.X.xsd
5)重新打开配置文件测试一下
window--》preferences--》MyEclipse--》Files and Editors--》XML--》XML Catalog
1)点击ADD
Location:点击浏览--》找到.xsd或.dtd文件 填写到location一栏中
3)Key Type 为Schema Lcation(.xsd)
Key Type:选择URL(.dtd)
4)Key :在给出的字符串后添加 --> /spring-beans-2.X.xsd
5)重新打开配置文件测试一下