带有mvn devserver的Google App Engine Java失败:缺少“guestbook / target / guestbook-1.0-SNAPSHOT” [英] Google App Engine Java with mvn devserver failed: missing "guestbook/target/guestbook-1.0-SNAPSHOT"

查看:79
本文介绍了带有mvn devserver的Google App Engine Java失败:缺少“guestbook / target / guestbook-1.0-SNAPSHOT”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Google App Engine上的简单教程, Java ,但是当我尝试运行 mvn appengine:devserver 命令时,我得到这个奇怪的丢失目录错误:

I'm trying to go through the simple tutorial on Google App Engine with Java, but when I try to run the mvn appengine:devserver command, I get this weird missing directory error:

[INFO] guestbook ......................................... FAILURE [  0.228 s]
[INFO] guestbook-war ..................................... SKIPPED
[INFO] guestbook-ear ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.446 s
[INFO] Finished at: 2014-05-06T12:03:51-08:00
[INFO] Final Memory: 9M/176M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.appengine:appengine-maven-plugin:1.9.4:devserver (default-cli) on project guestbook: The application directory does not exist : /Users/davidt/GoogleAppEngineProjects/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

这是怎么回事?我什么时候创建了这个快照?

What is going on? When was I supposed to have created that snapshot?

注意:我不确定这是否重要,但我一直在删除并重新创建项目多次文件夹。

Note: I am not sure if this matters, but I've been deleting and recreating the project multiple times under the same folder.

推荐答案

您必须在> mvn appengine:devserver 留言板耳朵文件夹。我在顶层运行它。

You have to run mvn appengine:devserver in the guestbook-ear folder. I was running it on the top level.

这篇关于带有mvn devserver的Google App Engine Java失败:缺少“guestbook / target / guestbook-1.0-SNAPSHOT”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆