1.首先Windows-->preferences-->myeclipse--files and editors -->xml-->xml catalog
2.单击add出现的窗口中的Key Type 中选择URI
在location中选择FileSystem然后在spring的解压目录的dist/resources目录中选择spring-bean-2.5.xsd
3.回到设置窗口,把窗口中的KeyType改为Schema Location
4.Key的后边加上spring-bean-2.5.xsd
5.完成
本文详细介绍如何在MyEclipse中配置XML Schema以实现代码提示和验证功能。具体步骤包括:打开偏好设置、添加Schema资源位置、修改KeyType并指定Key等。
605

被折叠的 条评论
为什么被折叠?



