在eclipse下配置spring

在eclipse下配置spring

1.Windows—>preferences—>Maven—>user Settings
在eclipse下配置spring
2.创建maven project 第一个名字为公司名,第二个为项目名
在eclipse下配置spring
3.配置路径,apach服务器

4.,进行小奶瓶操作。
在eclipse下配置spring
5.将applicationContext.xml导入到main\resources
在eclipse下配置spring
6.在pom.xml的Dependencies中加入Spring-webmvc

7.在src/test/java建包、类、进行测试、
在eclipse下配置spring
8.测试成功
在eclipse下配置spring