简体   繁体   English

通过Mac中的Eclipse在Google App Engine中创建新的Web应用程序项目

[英]Creating a New Web Application project in Google app engine through Eclipse in Mac

I have installed the Google plugin for Eclipse and tried to create a new Web Project. 我已经为Eclipse安装了Google插件,并尝试创建一个新的Web项目。 I have followed all the steps mentioned in creating a new web project in developers.google.com and clicked finish. 我已经按照在developers.google.com中创建新的网络项目中提到的所有步骤进行操作,然后单击“完成”。 After that I am getting a dialogue box as shown here and it gets stuck in that Auto share Git Projects for hours.: 之后,我得到一个对话框,如下所示,它被卡在自动共享Git项目中了几个小时。 item getting inst 项目安装

Even Eclipse freezes when I try to close the dialogue box.I tried many times and I am clueless about what steps need to be followed to rectify this. 当我尝试关闭对话框时,即使是Eclipse也冻结了。我尝试了很多次,对于要解决这个问题需要采取什么步骤,我一无所知。 Can you help in resolving this. 您能帮忙解决这个问题吗?

I suspect that lack of a known_hosts entry causes the "Auto share git project" to hang. 我怀疑缺少known_hosts条目会导致“自动共享git项目”挂起。 Git uses ssh by default, and it is possible that your ssh (a text console program) is asking for permission to connect to a not yet known host, probably github.com. Git默认情况下使用ssh,并且您的ssh(文本控制台程序)可能正在请求连接到未知主机(可能是github.com)的权限。 The Eclipse GUI might not show that prompt and hangs waiting for ssh to continue. Eclipse GUI可能不显示该提示,并挂起,等待ssh继续。

Try creating a throwaway project (called librarian for example) to verify your Github account. 尝试创建一个一次性项目(例如称为图书管理员)来验证您的Github帐户。 Follow this Github help and related documentation to use git at the command line. 请按照Github帮助和相关文档在命令行上使用git。 After your have added github.com to ~/.ssh/known_hosts once for your username, ssh should not prompt again and Eclipse should shell git without hanging. 在为您的用户名将github.com添加到〜/ .ssh / known_hosts一次之后,ssh不应再次提示,并且Eclipse应该挂起git而不会挂起。

The Problem is that Eclipse tries to connect to GIT and it was not able to establish a connection. 问题是Eclipse尝试连接到GIT,但无法建立连接。 I tried installing GIT for Eclipse and everything goes smoothly after that. 我尝试为Eclipse安装GIT,然后一切运行顺利。 Thanks @Martin Berends for giving a hint. 感谢@Martin Berends提供提示。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM