日期:2014-05-20  浏览次数:20673 次

spring 3.0.5所需jar
spring3.0后不再提供spring.jar,而是将所有jar分开,这样闹的我晕乎乎的,大家在项目中是将dist目录中的所有jar全部加进去么?如果这样做是不是对项目的扩展性影响不好?还有原来的spring-mvc.jar现在是由哪个jar实现这个功能的?

------解决方案--------------------
Spring包依赖说明: 

1) spring-core.jar需commons-collections.jar,spring-core.jar是以下其它各个的基本。 

2) spring-beans.jar需spring-core.jar,cglib-nodep-2.1_3.jar 

3) spring-aop.jar需spring-core.jar,spring-beans.jar,cglib-nodep-2.1_3.jar,aopalliance.jar 

4) spring-context.jar需spring-core.jar,spring-beans.jar,spring-aop.jar,commons-collections.jar,aopalliance.jar 

5) spring-dao.jar需spring-core.jar,spring-beans.jar,spring-aop.jar,spring-context.jar 

6) spring-jdbc.jar需spring-core.jar,spring-beans.jar,spring-dao.jar 

7) spring-web.jar需spring-core.jar,spring-beans.jar,spring-context.jar 

8) spring-webmvc.jar需spring-core.jar/spring-beans.jar/spring-context.jar/spring-web.jar 

9) spring -hibernate.jar需spring-core.jar,spring-beans.jar,spring-aop.jar,spring- dao.jar,spring-jdbc.jar,spring-orm.jar,spring-web.jar,spring-webmvc.jar 

10) spring-orm.jar需spring-core.jar,spring-beans.jar,spring-aop.jar,spring- dao.jar,spring-jdbc.jar,spring-web.jar,spring-webmvc.jar 

11) spring -remoting.jar需spring-core.jar,spring-beans.jar,spring-aop.jar,spring- dao.jar,spring-context.jar,spring-web.jar,spring-webmvc.jar 

12) spring-support.jar需spring-core.jar,spring-beans.jar,spring-aop.jar,spring-dao.jar,spring-context.jar,spring-jdbc.jar 

13) spring-mock.jar需spring-core.jar,spring-beans.jar,spring-dao.jar,spring-context.jar,spring-jdbc.jar