获取spring中核心的文件,xxx.xml:
1)
spring官网:spring.io
springframework选中对应的版本,reference中选中Core Technologies
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
</beans>
2)myelcipse中选中一个项目点击myeclipse选项自动生成
xml文件内容获取后,修改 http://www.springframework.org/schema/beans/spring-beans.xsd
中的版本,修改至对应的版本。
如果xml中没提示,点击window-->prefeneces-->搜索xml,选中xml catalog-->add添加catalog entry 配置本地xsd文件的路径,key type选中schema location
1)
spring官网:spring.io
springframework选中对应的版本,reference中选中Core Technologies
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
</beans>
2)myelcipse中选中一个项目点击myeclipse选项自动生成
xml文件内容获取后,修改 http://www.springframework.org/schema/beans/spring-beans.xsd
中的版本,修改至对应的版本。
如果xml中没提示,点击window-->prefeneces-->搜索xml,选中xml catalog-->add添加catalog entry 配置本地xsd文件的路径,key type选中schema location