Tyl*_*ler 17 java google-app-engine maven
我正在尝试运行该命令
mvn appengine:devserver
Run Code Online (Sandbox Code Playgroud)
但它会引发以下错误
[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/tylerrice/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
Run Code Online (Sandbox Code Playgroud)
我之前从未使用过maven,所有这些代码都是来自我们雇用的开发公司来编写大部分后端,所以我完全迷失在这里.我在这里访问了此错误的帮助页面.我浏览了那里的列表,我也找不到pom.xml文件
小智 18
所以我有同样的错误.当我试图运行mvn appengine:devserver for appengine我得到了同样的错误
[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/
Run Code Online (Sandbox Code Playgroud)
我意识到我的目录太远,所以当我输入ls并点击输入时,我可以看到我的应用程序.我只需要键入cd [应用程序名称],将一个目录级别下载到应用程序本身,它运行正常.
Jig*_*shi 10
在您的构建生命周期中,您没有定义此插件,您可以通过它来验证它
mvn help:effective-pom
Run Code Online (Sandbox Code Playgroud)
并观察 <build>
你需要让行家知道这是什么插件,以及您需要将其添加到<build>喜欢
<build>
<plugins>
<plugin>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>1.9.9</version>
</plugin>
</plugins>
</build>
Run Code Online (Sandbox Code Playgroud)
查看更多