91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

maven下載依賴失敗問題如何解決

發布時間:2023-04-15 14:45:21 來源:億速云 閱讀:101 作者:iii 欄目:開發技術

這篇“maven下載依賴失敗問題如何解決”文章的知識點大部分人都不太理解,所以小編給大家總結了以下內容,內容詳細,步驟清晰,具有一定的借鑒價值,希望大家閱讀完這篇文章能有所收獲,下面我們一起來看看這篇“maven下載依賴失敗問題如何解決”文章吧。

    1. 問題1

    描述

    This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced

    詳細

    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Detecting the operating system and CPU architecture
    [INFO] ------------------------------------------------------------------------
    [INFO] os.detected.name: windows
    [INFO] os.detected.arch: x86_64
    [INFO] os.detected.classifier: windows-x86_64
    [INFO]
    [INFO] -------< org.apache.pulsar:kafka-connect-avro-converter-shaded >--------
    [INFO] Building Apache Pulsar :: Kafka Connect Avro Converter shaded 2.8.0
    [INFO] --------------------------------[ jar ]---------------------------------
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time:  1.415 s
    [INFO] Finished at: 2021-10-21T09:22:45+08:00
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal on project kafka-connect-avro-converter-shaded: Could not resolve dependencies for project org.apache.pulsar:kafka-connect-avro-converter-shaded:jar:2.8.0: Failed to collect dependencies at io.confluent:kafka-connect-avro-converter:jar:5.3.2: Failed to read artifact descriptor for io.confluent:kafka-connect-avro-converter:jar:5.3.2: io.confluent:kafka-schema-registry-parent:pom:5.3.2 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

    2. 問題2

    描述

    Could not find artifact io.confluent:kafka-connect-avro-converter:jar:5.3.2 in aliyunmaven
    The POM for io.confluent:kafka-connect-avro-converter:jar:5.3.2 is missing, no dependency information available

    詳細

    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Detecting the operating system and CPU architecture
    [INFO] ------------------------------------------------------------------------
    [INFO] os.detected.name: windows
    [INFO] os.detected.arch: x86_64
    [INFO] os.detected.classifier: windows-x86_64
    [INFO]
    [INFO] -------< org.apache.pulsar:kafka-connect-avro-converter-shaded >--------
    [INFO] Building Apache Pulsar :: Kafka Connect Avro Converter shaded 2.8.0
    [INFO] --------------------------------[ jar ]---------------------------------
    [WARNING] The POM for io.confluent:kafka-connect-avro-converter:jar:5.3.2 is missing, no dependency information available
    Downloading from aliyunmaven: https://maven.aliyun.com/repository/public/io/confluent/kafka-connect-avro-converter/5.3.2/kafka-connect-avro-converter-5.3.2.jar
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time:  2.427 s
    [INFO] Finished at: 2021-10-21T10:39:36+08:00
    [INFO] ------------------------------------------------------------------------
    [WARNING] The requested profile "confluent" could not be activated because it does not exist.
    [ERROR] Failed to execute goal on project kafka-connect-avro-converter-shaded: Could not resolve dependencies for project org.apache.pulsar:kafka-connect-avro-converter-shaded:jar:2.8.0: Could not find artifact io.confluent:kafka-connect-avro-converter:jar:5.3.2 in aliyunmaven (https://maven.aliyun.com/repository/public) -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

    3. 原因分析

    雖然阿里云不存在這個jar包,但我們手動放到了maven的本地庫中,重新打包后還是提示抄不到pom文件。

    如下:

    maven下載依賴失敗問題如何解決

    猜測可能是lastUpdate的問題,但是刪除后仍然不能成功。

    經過各種嘗試,下面方法可行。

    4. 解決辦法

    刪除_remote.repositories和pom文件。

    4.1 原始狀態

    目錄文件:

    maven下載依賴失敗問題如何解決

    錯誤日志:

    [WARNING] The requested profile "confluent" could not be activated because it does not exist.
    [ERROR] Failed to execute goal on project kafka-connect-avro-converter-shaded: Could not resolve dependencies for project org.apache.pulsar:kafka-connect-avro-converter-shaded:jar:2.8.0: io.confluent:kafka-connect-avro-converter:jar:5.3.2 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

    4.2 刪除_remote.repositories

    目錄結構:

    maven下載依賴失敗問題如何解決

    錯誤日志:

    [WARNING] The requested profile "confluent" could not be activated because it does not exist.
    [ERROR] Failed to execute goal on project kafka-connect-avro-converter-shaded: Could not resolve dependencies for project org.apache.pulsar:kafka-connect-avro-converter-shaded:jar:2.8.0: Failed to collect dependencies at io.confluent:kafka-connect-avro-converter:jar:5.3.2: Failed to read artifact descriptor for io.confluent:kafka-connect-avro-converter:jar:5.3.2: io.confluent:kafka-schema-registry-parent:pom:5.3.2 was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

    4.3 刪除pom文件

    目錄結構:

    maven下載依賴失敗問題如何解決

    錯誤日志:

    [INFO] Replacing original artifact with shaded artifact.
    [INFO] Replacing F:\code\tmp\pulsar\kafka-connect-avro-converter-shaded\target\kafka-connect-avro-converter-shaded.jar with F:\code\tmp\pulsar\kafka-connect-avro-converter-shaded\target\kafka-connect-avro-converter-shaded-2.8.0-shaded.jar
    [INFO] Dependency-reduced POM written at: F:\code\tmp\pulsar\kafka-connect-avro-converter-shaded\dependency-reduced-pom.xml
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time:  12.882 s
    [INFO] Finished at: 2021-10-21T16:21:55+08:00
    [INFO] ------------------------------------------------------------------------
    [WARNING] The requested profile "confluent" could not be activated because it does not exist.

    以上就是關于“maven下載依賴失敗問題如何解決”這篇文章的內容,相信大家都有了一定的了解,希望小編分享的內容對大家有幫助,若想了解更多相關的知識內容,請關注億速云行業資訊頻道。

    向AI問一下細節

    免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

    AI

    新沂市| 亳州市| 海丰县| 天镇县| 兴山县| 海盐县| 云龙县| 顺昌县| 霍邱县| 侯马市| 土默特右旗| 陕西省| 荥经县| 郑州市| 龙泉市| 怀远县| 斗六市| 连州市| 铁岭县| 崇礼县| 松潘县| 东丽区| 丹寨县| 吴川市| 屯留县| 高唐县| 丹棱县| 东丰县| 老河口市| 博湖县| 德清县| 光山县| 资中县| 德令哈市| 连云港市| 南部县| 轮台县| 台中市| 岳普湖县| 五台县| 镇沅|