配置Spring框架编写XML的提示

时间:2021-11-17 00:48:37
1. 步骤一:先复制, http://www.springframework.org/schema/beans/spring-beans.xsd
2. 步骤二:搜索XML Catalog,点击Add按钮
3. 步骤三:先选择Location的schema的约束地址
* E:\class\2016\JavaEE28\day35_Spring框架第一天\资料\spring-framework-4.2.4.RELEASE-schema\beans\spring-beans-4.2.xsd
4. 步骤四:注意:Key type要选择:Schema location
5. 步骤五:Key把http://www.springframework.org/schema/beans/spring-beans.xsd复制上