第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

導入org.apache.cxf無法解析Java

導入org.apache.cxf無法解析Java

幕布斯6054654 2023-12-30 16:19:29
我是 Java/SpringBoot 新手。我剛剛用 Gradle 創(chuàng)建了一個 SpringBoot 項目,但無法使用:import org.apache.cxf.configuration.jsse.TLSClientParameters;import org.apache.cxf.endpoint.Client;import org.apache.cxf.frontend.ClientProxy;import org.apache.cxf.transport.http.HTTPConduit;我嘗試使用 gradle 導入 apache cxf:compile group: 'org.apache.cxf', name: 'cxf', version: '3.3.3', ext: 'pom'在 build.gradle 中,然后:使用 VSCode 自動構(gòu)建手動構(gòu)建gradlew build然后我還是無法使用org.apache.cxf我缺少什么?
查看完整描述

1 回答

?
紅顏莎娜

TA貢獻1842條經(jīng)驗 獲得超13個贊

根據(jù)我所看到的,依賴關系應該是:


    <dependency>  

        <groupId>org.apache.cxf</groupId>  

        <artifactId>cxf-rt-frontend-jaxws</artifactId>  

        <version>x.x.x</version>  

    </dependency>  

    <dependency>  

        <groupId>org.apache.cxf</groupId>  

        <artifactId>cxf-rt-transports-http</artifactId>  

        <version>x.x.x</version>

    </dependency>  

或者在 Gradle 語法中:


dependencies {


    compile 'org.apache.cxf:cxf-rt-frontend-jaxws:x.x.x'

    compile 'org.apache.cxf:cxf-rt-transports-http:x.x.x'


查看完整回答
反對 回復 2023-12-30
  • 1 回答
  • 0 關注
  • 235 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號