全新安装插件"com.google.appengine:appengine-maven-plugin:1.9.18 or one of its dependencies could not be re



我真的很难使用谷歌应用引擎,因为云端点教程的设置并不像我预期的那样顺利。

我正在尝试遵循的教程

这个问题是在我创建了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版本的结果

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,但在我自己的电脑上安装它被证明是一场噩梦。很长一段时间以来,我一直在为这件事伤透脑筋,所以任何建议都将不胜感激。

感谢

有趣的是,尽管教程中说了什么,或者Maven通过原型插件生成了什么,但目前还没有版本1.9.18的appengine Maven插件。试着在POM中切换到以前的版本1.9.17。还将依赖项中的版本号从1.9.18更改为1.9.17。

相关内容

最新更新