首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

在eclipse中 配备spring 自定义的schema文件

2012-11-10 
在eclipse中 配置spring 自定义的schema文件问题:使用了spring自定义schema时,在xml文件中无法自动提示自

在eclipse中 配置spring 自定义的schema文件

问题:使用了spring自定义schema时,在xml文件中无法自动提示自定义的tag。

?

解决:在eclipse中设置:

打开 Windows-->preferences-XML-XML catalog

然后在右边的User specified Entries 中增加一项:

Location:xsd文件的位置

KeyType:Schema Location

Key: http://www.mycompany.com/schema/fooo/fooo.xsd

热点排行