在Maven中Spring的基础配置Spring是高度模块化的,可以单独使用Spring的某个库而不需要依赖Spring的其他库。比如,使用Spring Context库不需要依赖Spring Persistence或者Spring MVC库。让我们先从最简单开始,在Maven中配置spring-context依赖: 3.2.8.RELEASE org.springframework spring-context ${org.springframework.version} runtime