java - Eclipse Google 插件不会为 Web 应用程序启动服务器

标签 java eclipse google-app-engine

我想尝试 Google App Engine 的 Google Eclipse 插件,但我在教程中卡住了...

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

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.

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

最佳答案

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

关于java - Eclipse Google 插件不会为 Web 应用程序启动服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6712270/

相关文章:

google-app-engine - GWT:解密 GAE-JDO key 以访问父级

python - 另一个 StructuredProperty 中的 StructuredProperty。如何?

java - 拉伸(stretch) ImageView ,每个屏幕上不同

java - org.testng.TestNGException : Cannot instantiate class

c++ - 用于从 C++ 代码生成 UML 图的 Eclipse 插件

node.js - 如何仅将受影响的 nx 服务部署到 GCP APP Engine

java - 如何在 Java 中打开一个文本文件

java - 接口(interface)的分离实现

java - 如何填写列表列表?

java - 无需配对即可连接到 BLE 信标