在github上运行Spring WS Samples会导致maven错误

时间:2013-05-15 16:16:12

标签: spring maven spring-ws snapshot

我正在尝试在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]

0 个答案:

没有答案