我想尝试 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/