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,实际上就是http://www.springframework.org/schema/beans/spring-beans-2.5.xsd。
5.完成
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,实际上就是http://www.springframework.org/schema/beans/spring-beans-2.5.xsd。
5.完成
本文介绍如何在MyEclipse中为Spring Bean配置XSD验证,通过详细步骤指导用户设置XML Catalog来实现对Spring Bean文件的有效验证。
2611

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



