简体   繁体   English

Eclipse新的Web应用程序项目,找不到我的GAE SDK

[英]Eclipse new Web Application Project, can't find my GAE SDK

I've installed the Google Plugin for Eclipse 3.4 and it seems to work fine. 我已经为Eclipse 3.4安装了Google插件,它似乎工作正常。

But when I start a new Web Application Project, it wants me to configure the Google App Engine SDK. 但是,当我启动一个新的Web应用程序项目时,它希望我配置Google App Engine SDK。 I click on Add App Engine SDK, but it doesn't recognize my (valid) GAE SDK. 我单击Add App Engine SDK,但它无法识别我的(有效)GAE SDK。 It comes back with "Failed to initialize App Engine SDK at %path", no matter what path I give it. 它回来时“无法在%path处初始化App Engine SDK”,无论我给它什么路径。

Are you trying to use the Java or Python SDKs, and are you sure you downloaded the right one? 您是否尝试使用Java或Python SDK,并确定是否下载了正确的SDK?

If Python, remember that the Google Eclipse plugin is currently Java-only. 如果是Python,请记住Google Eclipse插件目前只支持Java。

Does your SDK run if you start dev_appserver from the command line? 如果从命令行启动dev_appserver,您的SDK是否会运行? I had a similar problem once and it was because the script wanted to ask me about automatically checking for updates - once I'd answered the question and exited the appserver I was then able to add it to Eclipse. 我曾经遇到过类似的问题,因为脚本想问我自动检查更新 - 一旦我回答了问题并退出了appserver,我就可以将它添加到Eclipse中了。

Have you checked your "path" environment variable to include 您是否已检查要包含的“路径”环境变量

;C:\\Program Files\\Google\\google_appengine\\ ; C:\\ Program Files \\ Google \\ google_appengine \\

I had this issue. 我有这个问题。 I downloaded the java zip package and extracted it manually but it turned out that the zip file was either corrupted or messed up during the extraction. 我下载了java zip包并手动解压缩,但事实证明zip文件在提取过程中已损坏或搞砸了。 Regardless, downloading the package again and re-extracting it fixed the problem for me. 无论如何,再次下载包并重新解压缩它为我解决了问题。

Also, if you are on Python use the PyDev plugin for eclipse and start a Google AE project that way. 此外,如果您使用的是Python,请使用PyDev插件进行eclipse,并以此方式启动Google AE项目。 Use the Google Eclipse plugin for GWT, Java->Js stuff. 使用Google Eclipse插件用于GWT,Java-> Js的东西。

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

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