我正在尝试使用此链接设置 apache 地图集。
运行时:
export MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn clean install
我遇到以下构建失败:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:00 min
[INFO] Finished at: 2017-12-18T15:49:16+05:30
[INFO] Final Memory: 80M/268M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project atlas-hbase-client-shaded:
Could not resolve dependencies for project org.apache.atlas:atlas-hbase-client-shaded:jar:1.0.0-SNAPSHOT:
Could not find artifact jdk.tools:jdk.tools:jar:1.7 at specified path /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home/../lib/tools.jar
请让我知道如何解决这个问题。
echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home
请让我知道是否需要其他任何内容。