我正在尝试通过 Eclipse Helios 的 Google App Engine 插件在本地创建一个简单的 Hello World。当想要使用 eclipse 工具启动服务器时出现问题(在我的项目上右键单击 -> 运行方式 -> Web 应用程序),控制台总是显示这些日志:
2012-04-17 19:01:09.126 java[4019:407] [Java CocoaComponent compatibility mode]: Enabled
2012-04-17 19:01:09.127 java[4019:407] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
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.
当我使用下面的命令时,本地服务器工作:
./appengine-java-sdk/bin/dev_appserver.sh appengine-java-sdk/demos/guestbook/war
有没有人有一些让它工作的想法?
谢谢你的建议,对不起我的英语不好......