I want to try the Google Eclipse plug-in for the Google App Engine, but I get stuck in the tutorial...
我想尝试使用Google App Engine的Google Eclipse插件,但是我被困在教程中......
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:
我想从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.
What's the problem? It seems like the command to start the server is wrong, but I haven't edited it... can someone help?
有什么问题?似乎启动服务器的命令是错误的,但我没有编辑它...有人可以帮忙吗?
5 个解决方案
#1
76
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)
这是因为您的启动配置文件(位置:WORKSPACE / .metadata / .plugins / org.eclipse.debug.core / .launches)已损坏。解决此问题所需要做的就是删除现有的启动配置(在“运行”>“运行配置”中)
#2
1
Check if your Eclipse Project or GAE SDK has spaces in the path.
检查Eclipse Project或GAE SDK是否在路径中包含空格。
#3
1
The problem occurs when using blank spaces in the project name.
在项目名称中使用空格时出现问题。
"Run Configurations> Arguments > Program Arguments", insert quotation marks in the project path. i.e.:
“运行配置>参数>程序参数”,在项目路径中插入引号。即:
--port=8888 --disable_update_check {PATH}\My Project
To:
--port=8888 --disable_update_check "{PATH}\My Project"
I found it from this thread
我从这个帖子中找到了它
Thanks a lot
非常感谢
#4
0
i couldn't understand your whole problem but try this link procedure of making gae http://www.vogella.de/articles/GoogleAppEngineJava/article.html
我无法理解你的整个问题,但尝试这个制作gae的链接程序http://www.vogella.de/articles/GoogleAppEngineJava/article.html
#5
0
Some additional information to what's already been said.
关于已经说过的一些额外信息。
You need to install "m2eclipse" otherwise you will not have the "run as" option.
您需要安装“m2eclipse”,否则您将无法使用“run as”选项。
#1
76
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)
这是因为您的启动配置文件(位置:WORKSPACE / .metadata / .plugins / org.eclipse.debug.core / .launches)已损坏。解决此问题所需要做的就是删除现有的启动配置(在“运行”>“运行配置”中)
#2
1
Check if your Eclipse Project or GAE SDK has spaces in the path.
检查Eclipse Project或GAE SDK是否在路径中包含空格。
#3
1
The problem occurs when using blank spaces in the project name.
在项目名称中使用空格时出现问题。
"Run Configurations> Arguments > Program Arguments", insert quotation marks in the project path. i.e.:
“运行配置>参数>程序参数”,在项目路径中插入引号。即:
--port=8888 --disable_update_check {PATH}\My Project
To:
--port=8888 --disable_update_check "{PATH}\My Project"
I found it from this thread
我从这个帖子中找到了它
Thanks a lot
非常感谢
#4
0
i couldn't understand your whole problem but try this link procedure of making gae http://www.vogella.de/articles/GoogleAppEngineJava/article.html
我无法理解你的整个问题,但尝试这个制作gae的链接程序http://www.vogella.de/articles/GoogleAppEngineJava/article.html
#5
0
Some additional information to what's already been said.
关于已经说过的一些额外信息。
You need to install "m2eclipse" otherwise you will not have the "run as" option.
您需要安装“m2eclipse”,否则您将无法使用“run as”选项。