当前位置: 代码迷 >> J2EE >> spring 3.0.5所需jar解决办法
  详细解决方案

spring 3.0.5所需jar解决办法

热度:193   发布时间:2016-04-22 02:49:33.0
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
  相关解决方案