1. 程式人生 > >idea中maven專案遇到pom檔案jar包不能下載解決方式

idea中maven專案遇到pom檔案jar包不能下載解決方式

在做graphframes開發過程中遇到pom檔案不能下載:

<!-- https://mvnrepository.com/artifact/graphframes/graphframes -->
<dependency>
    <groupId>graphframes</groupId>
    <artifactId>graphframes</artifactId>
    <version>0.5.0-spark2.1-s_2.11</version>

</dependency>

解決辦法:

1)在maven庫中建立groupId、artifactId、version資料夾

2)在maven官網庫下載對應jar包、pom檔案、jar.asc檔案、pom.asc檔案

3)在version資料夾下放入以下四個檔案,重新整理專案。

點選view all


進入: