当我运行命令" mvn appengine:devserver"谷歌Appengine构建失败?

时间:2014-11-04 17:38:50

标签: java google-app-engine maven

我尝试使用java浏览谷歌应用引擎上的简单教程: 但是当我尝试运行mvn appengine:devserver命令时,我得到了这个奇怪的丢失目录错误:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] guestbook
[INFO] guestbook-war
[INFO] guestbook-ear
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building guestbook 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> appengine-maven-plugin:1.9.0:devserver (default-cli) @ guestbook >>>
[INFO] 
[INFO] <<< appengine-maven-plugin:1.9.0:devserver (default-cli) @ guestbook <<<
[INFO] 
[INFO] --- appengine-maven-plugin:1.9.0:devserver (default-cli) @ guestbook ---
[INFO] 
[INFO] Google App Engine Java SDK - Running Development Server
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] guestbook ......................................... FAILURE [  0.768 s]
[INFO] guestbook-war ..................................... SKIPPED
[INFO] guestbook-ear ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.507 s
[INFO] Finished at: 2014-11-04T22:56:48+05:30
[INFO] Final Memory: 9M/158M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.appengine:appengine-maven-plugin:1.9.0:devserver (default-cli) on project guestbook: The application directory does not exist : /home/e100086/gooru_OAuth/guestbook/target/guestbook-1.0-SNAPSHOT -> [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/MojoExecutionException

1 个答案:

答案 0 :(得分:0)

预计

mvn appengine:devserver将在guestbook-ear项目文件夹上运行。看起来您正在guestbook文件夹上运行它。

编辑:this的可能副本?