Spring-Core-WS 与 Spring 4.3.0 不兼容,是吗?

Spring-Core-WS isn't compatible with Spring 4.3.0 is it?

我总是尝试在我的 Spring 项目中使用最新的 jars/apis。我们有一个 Spring 4.2.4.RELEASE 然后我升级到 4.3.0。一切构建和编译都很好......但是,当我尝试 运行 我的单元测试时,我收到一条错误消息。 我确实将其追溯到 Spring-WS-Core 和 Spring-WS-Core-Test 2.3.0 引入: Spring-核心、网络、webmvc、bean 4.0.9。

有没有其他人以前看过这个?我必须回到 Spring 4.2 吗?

谢谢!

我将我的应用程序降级到 4.2。7.RELEASE 这是 Spring 4.3.0 之前的最新版本,但这没有帮助。最终,我不得不按如下方式更新我的 Maven 依赖项:

    <!-- Spring SOAP Client Dependencies -->
    <dependency>
        <groupId>org.springframework.ws</groupId>
        <artifactId>spring-ws-core</artifactId>
        <version>${spring.ws.core.version}</version>
        <exclusions>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
            </exclusion>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-beans</artifactId>
            </exclusion>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
            </exclusion>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aop</artifactId>
            </exclusion>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-expression</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

    <!-- Spring SOAP Client TEST Dependencies -->
    <dependency>
        <groupId>org.springframework.ws</groupId>
        <artifactId>spring-ws-test</artifactId>
        <version>${spring.ws.core.version}</version>
        <exclusions>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
            </exclusion>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-beans</artifactId>
            </exclusion>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
            </exclusion>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-aop</artifactId>
            </exclusion>
            <exclusion>
                <groupId>org.springframework</groupId>
                <artifactId>spring-expression</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

为什么 Spring Web 服务(用于 SOAP 网络服务)仍然使用 Spring 4.0.9 并且尚未更新为使用 Spring 4.2.x 或 4.3.0 超出了我的范围。这似乎是一个疏忽。

这个问题的症状是我在各种 spring.framework 包中收到 ClassDefNotFound 错误。我想我已经解决了这个问题。