2014-11-04 50 views
0

我试图去通过在谷歌应用程序引擎的简明教程用java: 但是当我尝试运行MVN AppEngine上:devserver命令,我得到这个奇怪的丢失的目录错误:当我在谷歌Appengine中运行命令“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 
+0

阅读错误,有一个丢失的文件夹... – Patrice 2014-11-04 19:42:27

回答

0

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

编辑:可能重复的this

+0

谢谢你正在工作 – 2014-11-05 18:54:42

相关问题