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

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

maven 無法從中央下載 mysql 連接器 8.0.12

maven 無法從中央下載 mysql 連接器 8.0.12

DIEA 2021-08-04 10:09:09
Maven 無法從中央下載 mysql 連接器 8.0.12,顯示以下錯誤:Downloading: https://repo.maven.apache.org/maven2/mysql/mysql-connector- java/8.0.12/mysql-connector-java-8.0.12.pom[INFO] ---------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ---------------------------------------------------------------------[INFO] Total time: 3.642 s[INFO] Finished at: 2018-08-21T00:22:03+05:30[INFO] Final Memory: 10M/113M[INFO] ---------------------------------------------------------------------[ERROR] Failed to execute goal on project OneSolution: Could not resolve dependencies for project OneSolution:OneSolution:jar:1.1.1: Failed to collect dependencies at mysql:mysql-connector-java:jar:8.0.12: Failed to read artifact descriptor for mysql:mysql-connector-java:jar:8.0.12: Could not transfer artifact mysql:mysql-connector-java:pom:8.0.12 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [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.任何幫助表示贊賞,沒有得到足夠的在線建議,在這里嘗試。
查看完整描述

3 回答

?
SMILET

TA貢獻1796條經驗 獲得超4個贊

在 maven 中使用這種方式:


<dependency>

    <groupId>mysql</groupId>

    <artifactId>mysql-connector-java</artifactId>

    <version>8.0.12</version> 

</dependency>


查看完整回答
反對 回復 2021-08-04
  • 3 回答
  • 0 關注
  • 505 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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