我真的很难使用Google,因为云端点教程的设置并不像我预期的那么顺利。
问题出现在我创建了MyBean.java和YourFirstAPI.java之后,导航到包含pom.xml的文件夹并运行"mvn干净安装“。这个错误会发生:
[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干净安装-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,但是在我自己的电脑上安装它却是一场噩梦。我已经为这件事大发雷霆很长一段时间了,所以任何建议都会非常感谢。
谢谢
发布于 2015-02-20 14:49:00
有趣的是,尽管教程说了些什么,或者Maven通过原型插件生成了什么,但目前还没有1.9.18版本的appengine插件。尝试切换到POM中的前一个版本1.9.17。还将依赖项中的版本号从1.9.18更改为1.9.17。
https://stackoverflow.com/questions/28631001
复制相似问题