Cannot find any registered HttpDestinationFactory from the Bus

yixiaoqi00 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>

相关推荐

lionelf / 0评论 2020-07-28