我使用的是maven gae插件0.9.4版,每当我使用mvn gae:run时,我就会得到以下错误:
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版本的插件中这曾经是一个问题,但已经修复。不确定为什么会发生在我身上,以及工作中需要绕过的地方。有什么想法吗?
发布于 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,这个问题就消失了!
https://stackoverflow.com/questions/12568139
复制相似问题