apache cxf 2.4.6 samples\wsdl_first
输入命令mvn install -Pserver -X
检查报错
Caused by: org.apache.maven.project.DependencyResolutionException: Could not res
olve dependencies for project org.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>