Could not find conduit initiator for address:xxxxxxxxx and transport: http://schemas.xmlsoap.org/soap/http


<properties>
  <cxf.version>3.1.12</cxf.version>
</properties>
 
<dependencies>
    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-frontend-jaxws</artifactId>
        <version>${cxf.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http</artifactId>
        <version>${cxf.version}</version>
    </dependency>
        <!-- Jetty is needed if you're are not using the CXFServlet -->
    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http-jetty</artifactId>
        <version>${cxf.version}</version>
    </dependency>
</dependencies>

把版本提升,并加入黄色代码部分。

< properties >
   < cxf.version >2.2.3</ cxf.version >
</ properties >
 
< dependencies >
     < dependency >
         < groupId >org.apache.cxf</ groupId >
         < artifactId >cxf-rt-frontend-jaxws</ artifactId >
         < version >${cxf.version}</ version >
     </ dependency >
     < dependency >
         < groupId >org.apache.cxf</ groupId >
         < artifactId >cxf-rt-transports-http</ artifactId >
         < version >${cxf.version}</ version >
     </ dependency >
         <!-- Jetty is needed if you're are not using the CXFServlet -->
     < dependency >
         < groupId >org.apache.cxf</ groupId >
         < artifactId >cxf-rt-transports-http-jetty</ artifactId >
         < version >${cxf.version}</ version >
     </ dependency >
</ dependencies >


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM