You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/04/10 01:49:34 UTC
[iotdb] branch master updated: Update ContributeGuide.md (#5463)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 18c54ca050 Update ContributeGuide.md (#5463)
18c54ca050 is described below
commit 18c54ca0509e30bc4e5388909476db1bd87e8f91
Author: huzk <10...@qq.com>
AuthorDate: Sun Apr 10 09:49:29 2022 +0800
Update ContributeGuide.md (#5463)
update compile error content
---
docs/zh/Development/ContributeGuide.md | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/docs/zh/Development/ContributeGuide.md b/docs/zh/Development/ContributeGuide.md
index 22b522b70f..851faa64bd 100644
--- a/docs/zh/Development/ContributeGuide.md
+++ b/docs/zh/Development/ContributeGuide.md
@@ -152,7 +152,8 @@ import -> Maven -> Existing Maven Projects
# 常见编译错误
-无法下载 thrift-* 等文件,例如 `Could not get content
+## 无法下载 thrift-* 等文件
+例如 `Could not get content
org.apache.maven.wagon.TransferFailedException: Transfer failed for https://github.com/apache/iotdb-bin-resources/blob/main/compile-tools/thrift-0.14-ubuntu`
这一般是网络问题,这时候需要手动下载上述文件:
@@ -162,3 +163,11 @@ org.apache.maven.wagon.TransferFailedException: Transfer failed for https://gith
* 将该文件拷贝到 thrift/target/tools/目录下
* 重新执行 maven 的编译命令
+
+
+## 无法下载errorprone :
+```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
+```
+1. 手动下载jar包: https://repo1.maven.org/maven2/com/google/errorprone/javac-shaded/9+181-r4173-1/javac-shaded-9+181-r4173-1.jar
+2. 将jar包安装到本地私仓库 : mvn install:install-file -DgroupId=com.google.errorprone -DartifactId=javac-shaded -Dversion=9+181-r4173-1 -Dpackaging=jar -Dfile=D:\workspace\iotdb-master\docs\javac-shaded-9+181-r4173-1.jar