1、【window】->【preference】..->【xml】-> 【xml catalog】
2、选中 user specified entried
3、选择左边【Add..】按钮
Location:请选择本地文件系统上的\spring-framework-4.1.5.RELEASE\schema\beans\spring-beans-4.1.xsd
key type:Schema Location
key:http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
4、点击确定
5、关闭源配置文件,重新打开即可
本文介绍如何在Eclipse中配置Spring 4.1版本的xsd文件,通过简单的步骤实现XML验证,确保开发过程中Spring配置文件的有效性和正确性。
979

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



