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>
本文介绍了解决Apache CXF 2.4.6版本中wsdl_first示例项目的依赖问题的方法。具体而言,文中详细解释了如何通过修改pom.xml文件来解决因找不到cxf-rt-transports-http-jetty 2.4.5-SNAPSHOT版本而导致的构建失败问题。

2855

被折叠的 条评论
为什么被折叠?



