1、配置完Struts2后,然后配置Spring
2、单击“MyEclipse->Project Capabilities->Add Spring Capabilities”
3、选择Spring 3.0 AOP Libraries、Spring 3.0 Core Libraries、Spring 3.0 Persistence Core Libraries、Spring 3.0 Persistence JDBC Libraries和Spring 3.0 Web Libraries,选择第二项,并且Library Folder选择“/WebRoot/WEB-INF/lib”
4、单击“Next”
5、Folder选择路径“WebRoot/WEB-INF”
6、单击“Finish”