我应该将哪个版本的Spring Security与spring core 3.2.5.RELEASE一起使用

时间:2015-04-13 12:03:47

标签: java spring maven spring-security

我在我的项目中使用Spring 3.2.5.RELEASE并且我想添加Spring Security Framework,并且我在Internet上进行了一些研究后发现Spring Core和Spring Security之间存在兼容性问题

我的pom.xml:

<properties>
        <spring.version>3.2.5.RELEASE</spring.version>
    </properties>
<!-- Spring 3 dependencies -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>${spring.version}</version>
        </dependency>


        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aspects</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-orm</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>${spring.version}</version>
        </dependency>

1 个答案:

答案 0 :(得分:1)

我目前的工作项目是: 弹簧芯3.2.13.RELEASE 弹簧安全3.1.0.RC3

此外,旧项目一直在努力; org.springframework.core-3.0.6.RELEASE 弹簧安全核心3.1.0.RC3

希望这有助于您做出选择。