Eclipse Google Plug-In无法启动Web应用程序的服务器

Tho*_*rig 31 java eclipse google-app-engine

我想尝试Google App Engine的Google Eclipse插件,但是我被困在教程中......

我想从Google教程启动Web应用程序,但是当我单击"RUN AS> Web Application"时,我只在控制台上看到此消息:

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.
Run Code Online (Sandbox Code Playgroud)

有什么问题?似乎启动服务器的命令是错误的,但我没有编辑它...有人可以帮忙吗?

i88*_*.ca 76

这是因为您的启动配置文件(位置:WORKSPACE/.metadata/.plugins/org.eclipse.debug.core/.launches)已损坏.解决此问题所需要做的就是删除现有的启动配置(在"运行">"运行配置"中)

  • 运行>运行配置> Web应用程序>右键单击项目名称>删除 (8认同)
  • 你当然救了我的一天.#尊重 (3认同)
  • 如果在删除启动配置后它仍然无效,请重启eclipse,这对我有用:) (2认同)