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