XHuiLin 2012-04-13
apache cxf 2.4.6 samples\wsdl_first
输入命令mvn install -Pserver -X
检查报错
Caused by: org.apache.maven.project.DependencyResolutionException: Could not res
olvedependenciesforprojectorg.apache.cxf.samples:wsdl_first:war:2.4.6:Could
not find artifact org.apache.cxf:cxf-rt-transports-http-jetty:jar:2.4.5-SNAPSHOT修改pom.xml
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>2.4.5-SNAPSHOT</version>
</dependency>
</dependencies>为
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>2.4.6</version>
</dependency>
</dependencies>