eclipse 请配置一个 GWT SDK?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10208414/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Please configure a GWT SDK?
提问by maximus
I have just installed the Google App Engine Plugin for eclipse and want to create a new project. But i only get:
我刚刚为 Eclipse 安装了 Google App Engine 插件,并想创建一个新项目。但我只得到:
Why cannot I create a new project?
为什么我不能创建一个新项目?
greetings and thx in advance
提前问候和谢谢
回答by Dojo
Plugin is not same as the SDK. Plugin just makes it easy to work with GWT projects.
The actual GWT compiler and libraries are present in the SDK which needs to be downloaded separately.
Once you download and extract the SDK, You have to configure its location in Eclipse's Preferences. Go to Window > Preferences > Google > Web Toolkit
and add the SDK there.
插件与 SDK 不同。插件只是让 GWT 项目的工作变得容易。实际的 GWT 编译器和库存在于 SDK 中,需要单独下载。下载并解压 SDK 后,您必须在 Eclipse 的首选项中配置其位置。转到Window > Preferences > Google > Web Toolkit
并在那里添加 SDK。
回答by codefactor
I had the same problem.
我有同样的问题。
If you do not want to use GWT just uncheck the "Use Google Web Toolkit" checkbox on that same dialog. You do not need this turned on in order to create a New Web Application Project.
如果您不想使用 GWT,只需取消选中同一对话框中的“使用 Google Web Toolkit”复选框即可。您不需要为了创建新的 Web 应用程序项目而打开此选项。
I personally think it was confusing that the checkbox for GWT is turned on by default, even if you don't have one installed.
我个人认为 GWT 的复选框在默认情况下处于打开状态令人困惑,即使您没有安装。
The SDK that you installed with your eclipse plugin should be sufficient.
您随 eclipse 插件安装的 SDK 应该足够了。