首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法使用mvn gae:使用版本maven-gae-plugin:0.9.4运行?

无法使用mvn gae:使用版本maven-gae-plugin:0.9.4运行?
EN

Stack Overflow用户
提问于 2012-09-24 23:28:10
回答 1查看 284关注 0票数 4

我使用的是maven gae插件0.9.4版,每当我使用mvn gae:run时,我就会得到以下错误:

代码语言:javascript
复制
Usage: <dev-appserver> [options] <war directory>

Options:
 --help, -h                 Show this help message and exit.
 --server=SERVER            The server to use to determine the latest
  -s SERVER                   SDK version.
 --address=ADDRESS          The address of the interface on the local machine
  -a ADDRESS                  to bind to (or 0.0.0.0 for all interfaces).
 --port=PORT                The port number to bind to on the local machine.
  -p PORT
 --sdk_root=root            Overrides where the SDK is located.
 --disable_update_check     Disable the check for newer SDK versions.
 --generated_dir=dir        Set the directory where generated files are created.

谷歌搜索发现了一些旧的线程,在0.5版本的插件中这曾经是一个问题,但已经修复。不确定为什么会发生在我身上,以及工作中需要绕过的地方。有什么想法吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-09-25 10:49:19

我在Windows7上使用maven-gae-plugin0.9.4和jdk1.6.0_23时也遇到过这个问题,为了重现这个问题,我只需要使用gae- archetype -jsp原型创建一个项目,然后使用mvn gae:run

然而,我把maven-gae-plugin降到了0.9.2,这个问题就消失了!

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12568139

复制
相关文章

相似问题

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