0
我試圖在EC2上安裝Apache Ignite(CentOS)。 下載了最新的Ignite src(2.0)並安裝了Java 1.8和MVN。在EC2上安裝Apache Ignite
下一頁想跑MVN設置(點燃文件夾中),但未能:
mvn clean package -DskipTests
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/apache/16/apache-16.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM @ org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.ignite:apache-ignite:2.0.0 (/home/ec2-user/ignite/apache-ignite-2.0.0-src/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.apache.ignite:ignite-parent:1: Could not transfer artifact org.apache:apache:pom:16 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.32.215] failed: Connection timed out (Connection timed out) and 'parent.relativePath' points at no local POM @ org.apache.ignite:ignite-parent:1, /home/ec2-user/ignite/apache-ignite-2.0.0-src/parent/pom.xml, line 29, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
我能夠在我的Mac上安裝同樣的方式沒有這個錯誤。什麼可能是一個問題?可以設置MVN以避免此錯誤嗎?或者是EC2/Apache Ignite兼容性問題? (由於未在公司網絡內使用,因此我無法使用AMI作爲Ignite)
謝謝。
謝謝。你有沒有例子(鏈接二進制文件),並一步一步如何做到這一點? – cikavladimir
這似乎是鏈接到二進制文件:https://ignite.apache.org/download.cgi#binaries。你有從二進制文件構建它的經驗嗎?遵循哪個程序?謝謝。 – cikavladimir
下載二進制文件並運行ignite.sh,如下所述:https://apacheignite.readme.io/docs/getting-started#section-start-from-command-line –