`
reymont
  • 浏览: 529485 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Cannot find any registered HttpDestinationFactory from the Bus

 
阅读更多

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>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics