当前位置: 代码迷 >> 综合 >> Webservice CXF 调用报错 Could not find conduit initiator for address:
  详细解决方案

Webservice CXF 调用报错 Could not find conduit initiator for address:

热度:94   发布时间:2023-12-13 11:16:44.0

缺少CXF依赖的引入

本项目是基于SpringBoot,所以需要引入以下依赖

<dependency><groupId>org.apache.cxf</groupId><artifactId>cxf-spring-boot-starter-jaxws</artifactId><version>3.1.18</version>
</dependency>

常规的Spring项目可引入以下依赖

<dependency><groupId>org.apache.cxf</groupId><artifactId>cxf-rt-transports-http</artifactId><version>3.1.18</version>
</dependency>

 

  相关解决方案