Minimum JARs for Spring 3.0 dependency injection

前端 未结 3 1538
无人共我
无人共我 2021-02-08 01:47

Similarly to this question regarding an earlier Spring version, what are the minimum dependencies required for an application to use Spring 3.0 dependency injec

3条回答
  •  再見小時候
    2021-02-08 02:48

    As stated in another answer, maven is the true path. If; however, you choose to stray, then based on section "1.2.1 Core Container" of the Spring Reference I believe these to be the minimum jars for core spring functionality:

    • org.springframework.asm-3.0.4.RELEASE.jar
    • org.springframework.beans-3.0.4.RELEASE.jar
    • org.springframework.context-3.0.4.RELEASE.jar
    • org.springframework.core-3.0.4.RELEASE.jar
    • org.springframework.expression-3.0.4.RELEASE.jar

    Edited: sorted the list, using wiki formatting.

    Updated for Spring 3.2: It seems that asm is not part of the 3.2 distribution. Below is the list for Spring 3.2:

    • spring-beans-3.2.0.RELEASE.jar
    • spring-context-3.2.0.RELEASE.jar
    • spring-core-3.2.0.RELEASE.jar
    • spring-expression-3.2.0.RELEASE.jar

提交回复
热议问题