首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行Google快速启动错误:缺少用于com.google.appengine:appengine-maven-plugin:jar:1.9.24的POM

运行Google快速启动错误:缺少用于com.google.appengine:appengine-maven-plugin:jar:1.9.24的POM
EN

Stack Overflow用户
提问于 2015-07-23 01:22:58
回答 3查看 2.3K关注 0票数 2

任何帮助我克服这一错误将不胜感激。谷歌搜索似乎找不到任何有用的结果。我在Macbook Pro上运行,并使用1.7.0_71和Maven 3.3。Maven是通过HomeBrew安装的。

为了了解Google的介绍,我遵循了从https://cloud.google.com/appengine/docs/java/gettingstarted/introduction开始快速启动的说明,并在代码上无问题地到达页面说明。在创建guestbook.jsp文件并运行mvn appengine:devserver之后,我将得到以下构建失败。

代码语言:javascript
复制
[INFO] Scanning for projects...
[WARNING] The POM for com.google.appengine:appengine-maven-plugin:jar:1.9.24 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for com.google.appengine:appengine-maven-plugin:1.9.24: Plugin com.google.appengine:appengine-maven-plugin:1.9.24 or one of its dependencies could not be resolved: Failure to find com.google.appengine:appengine-maven-plugin:jar:1.9.24 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 4.3 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 2.2 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.435 s
[INFO] Finished at: 2015-07-22T21:10:29-04:00
[INFO] Final Memory: 10M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'appengine' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/nissandookeran/.m2/repository), 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/NoPluginFoundForPrefixException
EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2015-07-23 01:56:23

出于任何原因,Appengine插件还没有部署到Maven Central的1.9.24版本。可能最简单的方法是打开您的pom.xml,找到它正在使用的<version> of appengine-maven-plugin,并让它使用1.9.23而不是${appengine.version}1.9.24或它正在使用的任何东西。

票数 2
EN

Stack Overflow用户

发布于 2016-02-12 16:05:15

如果是因为新版本,您也可以尝试运行mvn appengine:devserver -U

票数 1
EN

Stack Overflow用户

发布于 2017-10-24 16:38:56

您必须在pom文件中包含以下内容

代码语言:javascript
复制
        <plugin>
           <groupId>com.google.cloud.tools</groupId>
           <artifactId>appengine-maven-plugin</artifactId>
           <version>1.9.48</version>
        </plugin>
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31576681

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档