目录
一、schema配置文件
1.spring-framework-4.3.6.RELEASE\docs\spring-framework-reference\html\xsd-configuration.html
2.xsd-configuration.html打开寻找41.2.12章
将其拷贝到xml文件中
3.可以将拷贝的bean删掉,后续按照自己需求编写
二、schema配置
1.window->preferences->xml->xml catalog
2.点击 file system...添加schema文件路径,
选择spring-framework-4.3.6.RELEASE\schema\beans下的文件
3.拷贝location中路径的最后spring-beans-4.3.xsd粘贴到key下路径的最后
4.将原先的xml中的http://www.springframework.org/schema/beans/spring-beans.xsd删了,换成http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
三、添加JUnit
1.右击创建的项目—>properties->java Build Path->libraries->classpath->add library->JUnit->next
选择需要的JUnit的版本即可