【发布时间】:2015-02-20 14:12:26
【问题描述】:
我真的很难开始使用 Google App Engine,因为 Cloud Endpoints 教程的设置没有我预期的那么顺利。
The tutorial I am trying to follow
在我创建了 MyBean.java 和 YourFirstAPI.java,导航到包含 pom.xml 的文件夹并运行“mvn clean install”之后,问题就出现了。发生此错误:
[ERROR] Plugin com.google.appengine:appengine-maven-plugin:1.9.18 or one of its dependencies could not be resolved: Could not find artifact com.google.appengine:appengine-maven-plugin:jar:1.9.18 in central (https://repo.maven.apache.org/maven2) -> [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/PluginResolutionException
我尝试过重新安装 maven,也尝试过运行“mvn clean install -U”,但没有帮助。
这是运行 mvn -version 的结果
mvn -version
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T21:58:10+01:00)
Maven home: /usr/local/Cellar/maven/3.2.3/libexec
Java version: 1.7.0_67, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"
信不信由你,我不是一个完全的新手,以前曾在实习中使用过 GAE,但在我自己的计算机上安装它被证明是一场噩梦。我已经为此烦恼了很长时间,所以任何建议都将不胜感激。
谢谢
【问题讨论】:
标签: java maven google-app-engine pom.xml artifact