(Spring)配置Spring框架编写XML的提示

注意:与Struts2、Hibernate框架有所不同


步骤一:复制,http://www.springframework.org/schema/beans/spring-beans.xsd

步骤二:window --> preferences --> 搜索XML Catalog,点击Add按钮

步骤三:选择Location的schema的约束地址,点击FileSystem查找

    *   spring-framework-4.2.4.RELEASE\schema\beans\spring-beans-4.2.xsd

步骤四:Key type选择:Schema location

步骤五:Key 上粘贴 http://www.springframework.org/schema/beans/spring-beans.xsd


下一篇:

你可能感兴趣的:(Spring)