亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

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

maven 構建失敗 - 無法解析 maven 依賴項

maven 構建失敗 - 無法解析 maven 依賴項

LEATH 2023-06-21 13:52:43
下載 Maven 依賴項時出現以下錯誤 Plugin org.springframework.boot:spring-boot-maven-plugin:2.1.7.RELEASE or one of its dependencies could not be resolved:Failed to read artifact descriptor for org.springframework.boot:spring-boot-maven-plugin:jar:2.1.7.RELEASE: Could not transfer artifact org.springframework.boot:spring-boot-maven-plugin:pom:2.1.7.RELEASE from/to mdcm (https://example.aaa.bbb.com:8443/example/repository/MDCM): unexpected end of stream on Connection{example.aaa.bbb.com:8443, proxy=HTTP @ aaa.bbb.ccc.com/1.1.1.1:8080 hostAddress=1.1.1.1 cipherSuite=none protocol=http/1.1} (recycle count=0): \n not found: size=0 content=... -> [Help 1][ERROR] 我的pom.xml    <?xml version="1.0" encoding="UTF-8"?>    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">        <modelVersion>4.0.0</modelVersion>        <parent>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-starter-parent</artifactId>            <version>2.1.7.RELEASE</version>            <relativePath/> <!-- lookup parent from repository -->        </parent>        <groupId>com.dbs</groupId>        <artifactId>credit-card</artifactId>        <version>0.0.1-SNAPSHOT</version>        <name>credit-card</name>        <description>Demo project for Spring Boot</description>            <properties>            <java.version>1.8</java.version>            <maven-jar-plugin.version>3.1.2</maven-jar-plugin.version>        </properties>
查看完整描述

1 回答

?
FFIVE

TA貢獻1797條經驗 獲得超6個贊

如果您的 Nexus 服務器已連接到互聯網,請確保正確配置了 Maven Central 的代理。

如果您的 Nexus 服務器未連接到互聯網,則必須先將所有工件手動上傳到您的 Nexus 存儲庫,然后才能在項目中使用它們。


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

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號