31

I want to try the Google Eclipse plug-in for the Google App Engine, but I get stuck in the tutorial...

I want to start the web application from the Google tutorial, but when I click on "RUN AS > Web Application", I only see this message on the console:

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.

What's the problem? It seems like the command to start the server is wrong, but I haven't edited it... can someone help?

1

3 Answers 3

75

It is because your launch configuration file (location: WORKSPACE/.metadata/.plugins/org.eclipse.debug.core/.launches)is corrupt. All you need to do to solve this problem is to delete the existing launch configuration (in Run > Run configurations)

2
  • 2
    If it still doesn't work after deleting the launch configuration give eclipse a restart, that worked for me :) Jan 5, 2012 at 17:20
  • 8
    Run > Run configurations > Web Application > right click in your project's name > Delete
    – john 4d5
    May 10, 2013 at 2:06
1

Check if your Eclipse Project or GAE SDK has spaces in the path.

0

Some additional information to what's already been said.

You need to install "m2eclipse" otherwise you will not have the "run as" option.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.