iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

【Maven】master分支,编译失败

Open EchoHou2000 opened this issue 2 years ago • 3 comments

[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:03 min [INFO] Finished at: 2022-12-04T17:05:52+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.27.1:check (spotless-check) on project iotdb-parent: Execution spotless-check of goal com.diffplug.spotless:spotless-maven-plugin:2.27.1:check failed: Unable to resolve dependencies: Failed to collect dependencies at com.google.googlejavaformat:google-java-format:jar:1.7 -> com.google.errorprone:javac-shaded:jar:9+181-r4173-1: Failed to read artifact descriptor for com.google.errorprone:javac-shaded:jar:9+181-r4173-1: Could not transfer artifact com.google.errorprone:javac-shaded:pom:9+181-r4173-1 from/to alimaven (https://maven.aliyun.com/repository/central): authorization failed for https://maven.aliyun.com/repository/central/com/google/errorprone/javac-shaded/9+181-r4173-1/javac-shaded-9+181-r4173-1.pom, status: 403 Forbidden -> [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/PluginExecutionException

—————— 您好,请问这是我网络的问题还是maven版本的问题?我的maven版本是3.8.6。

EchoHou2000 avatar Dec 04 '22 09:12 EchoHou2000

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Dec 04 '22 09:12 github-actions[bot]

可以看一下这个文章 https://blog.csdn.net/yagebu1983/article/details/124144594

也可以考虑把 aliyun maven 源换成 maven 的官方源

HTHou avatar Dec 05 '22 01:12 HTHou

好的,我试试,谢谢您的解答。

EchoHou2000 avatar Dec 05 '22 03:12 EchoHou2000