Eclipse Google Plug-In 不会为 Web 应用程序启动服务器 [英] Eclipse Google Plug-In doesn't start server for web application

查看:27
本文介绍了Eclipse Google Plug-In 不会为 Web 应用程序启动服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

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?

推荐答案

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

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)

这篇关于Eclipse Google Plug-In 不会为 Web 应用程序启动服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆