Google App Engine: local testing of the simple world hi

I am trying to create a simple Hello World running on a local computer through the Google App Engine plugin for Eclipse Helios. The problem occurs when you want to run serveur using the eclipse tool (right click in my project -> Run As -> Web Application), the console always displays these logs:

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.

The local server works when I use the command below:

./appengine-java-sdk/bin/dev_appserver.sh appengine-java-sdk/demos/guestbook/war

Does anyone have any ideas for his work?

Thank you, advised and apologize for my poor English ...

+5
source share
2 answers

. ( Run > Run configurations), , > Run As > Web Application.

+8

, . , dev-, .

0

All Articles