首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Eclipse Google插件无法启动web应用程序的服务器

Eclipse Google插件无法启动web应用程序的服务器
EN

Stack Overflow用户
提问于 2011-07-16 03:35:23
回答 4查看 10.5K关注 0票数 31

我想尝试用于Google App Engine的Google Eclipse插件,但我被教程卡住了……

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

代码语言:javascript
复制
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.

有什么问题吗?看起来启动服务器的命令是错误的,但我还没有编辑它...有人能帮帮忙吗?

EN

回答 4

Stack Overflow用户

回答已采纳

发布于 2012-01-04 02:10:43

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

票数 76
EN

Stack Overflow用户

发布于 2013-09-04 05:53:46

检查Eclipse项目或GAE SDK的路径中是否有空格。

票数 1
EN

Stack Overflow用户

发布于 2015-10-19 03:13:45

在项目名称中使用空格时会出现此问题。

“运行Configurations>参数>程序参数”,在项目路径中插入引号。即:

代码语言:javascript
复制
--port=8888 --disable_update_check {PATH}\My Project

至:

代码语言:javascript
复制
--port=8888 --disable_update_check "{PATH}\My Project" 

我从this thread上找到的

非常感谢

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/6712270

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档