我正在使用 macbook pro 进行开发。我刚刚安装了 eclipse indigo。 Google 应用引擎 Java SDK 是 1.8.2。我正在尝试在本地主机上运行应用程序引擎项目。但我收到以下错误:
2013-08-04 13:14:03.193 java[2146:707] [Java CocoaComponent compatibility mode]: Enabled
2013-08-04 13:14:03.194 java[2146:707] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
Usage: <dev-appserver> [options] <app 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=DIR 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.
--jvm_flag=FLAG Pass FLAG as a JVM argument. May be repeated to
supply multiple flags.
我用谷歌搜索了很多,但我发现的任何解决方案都不适合我。我在 appengine 上上传了应用程序并使用 url 打开它。而且它在那里工作得很好。谁能告诉我为什么它在我的 mac 上不起作用。提前致谢。
在项目名称中使用空格时会出现此问题。
“运行配置 > 参数 > 程序参数”,在项目路径中插入引号。 IE。:
--port=8888 --disable_update_check {PATH}\My Project
To:
--port=8888 --disable_update_check "{PATH}\My Project"
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)