0

我正在尝试在 spring-ws 上运行 mtom 示例:https ://github.com/poutsma/spring-ws/tree/master/samples/mtom

server在我运行时在目录mvm:jetty run下出现以下错误:

[ERROR]   The project org.springframework.ws:mtom-server:2.1.4.RELEASE-SNAPSHOT (/Users/user/springws/spring-ws/samples/mtom/server/pom.xml) has 2 errors
[ERROR]     'dependencies.dependency.version' for javax.xml.bind:jaxb-api:jar is missing. @ line 21, column 29
[ERROR]     'dependencies.dependency.version' for com.sun.xml.bind:jaxb-impl:jar is missing. @ line 37, column 29

所以我在pom.xml中添加了版本

            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.1</version>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.1.5</version>

但是现在当我再次尝试运行时,出现mvm:jetty run以下错误,我不知道如何解决..

[INFO] >>> maven-jetty-plugin:6.1.26:run (default-cli) @ mtom-server >>>
[WARNING] The POM for org.springframework.ws:spring-ws-core:jar:2.1.4.RELEASE-SNAPSHOT is missing, no dependency information available
[ERROR] Failed to execute goal on project mtom-server: Could not resolve dependencies for project org.springframework.ws:mtom-server:war:2.1.4.RELEASE-SNAPSHOT: Failure to find org.springframework.ws:spring-ws-core:jar:2.1.4.RELEASE-SNAPSHOT in http://maven.springframework.org/release was cached in the local repository, resolution will not be reattempted until the update interval of spring-release has elapsed or updates are forced -> [Help 1]
4

0 回答 0