我正在使用macbook pro进行开发。我刚刚安装了eclipse indigo。Google app engine Java SDK为1.8.2。我正在尝试在localhost上运行一个appengine项目。但是我得到了以下错误:
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.我用谷歌搜索了很多,但我找到的任何解决方案对我都不起作用。我把app上传到appengine,然后用url打开它。它在那里运行得很好。谁能告诉我为什么它不能在我的mac上工作。提前谢谢。
发布于 2014-03-03 02:19:37
在项目名称中使用空格时会出现此问题。
“运行Configurations>参数>程序参数”,在项目路径中插入引号。即:
--port=8888 --disable_update_check {PATH}\My Project至:
--port=8888 --disable_update_check "{PATH}\My Project" 发布于 2013-08-23 04:40:48
我也有同样的问题。奇怪的是,默认参数是不正确的。删除第一个和第三个元素,它就可以工作了。
最后,您应该在以下位置拥有类似的内容:调试配置...> Web应用程序> project1 >参数>程序参数
--port=8888 /Users/user1/java/project1/warhttps://stackoverflow.com/questions/18042352
复制相似问题