spring所需jar包: spring-aop.jar spring-bean.jar spring-context.jar spring-core.jar spring-web.jar springMvc只需要新增一个jar包: spring-webMvc.jar