使用 Eclipse 安装 GWT 插件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11285757/
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
Installing GWT plugin with Eclipse
提问by epsilones
I am trying to use GWT and I am very new to it. Following the doc, I tried to install the GWT plugin for Eclipse but then I have an error message :
我正在尝试使用 GWT,我对它很陌生。按照文档,我尝试为 Eclipse 安装 GWT 插件,但随后出现错误消息:
Cannot complete the install because one or more required items could not be found.
Software being installed: Google Plugin for Eclipse 3.7 3.0.1.v201206290132-rel-r37
(com.google.gdt.eclipse.suite.e37.feature.feature.group 3.0.1.v201206290132-rel-r37)
Missing requirement: Google Plugin for Eclipse 3.7 3.0.1.v201206290132-rel-r37
(com.google.gdt.eclipse.suite.e37.feature.feature.group 3.0.1.v201206290132-rel-r37)
requires 'org.mortbay.jetty.server 0.0.0' but it could not be found"
I tried to find to what org.mortbay.jetty.server
could deal with, but I didn't find. Does anyone know?
我试图找到什么org.mortbay.jetty.server
可以处理,但我没有找到。有人知道吗?
回答by Chris
This is because you're attempting to use the latest Juno build, 4.2, with a plugin link for 3.7.
这是因为您尝试使用最新的 Juno 版本 4.2,以及 3.7 的插件链接。
Use the following update site: http://dl.google.com/eclipse/plugin/4.2
使用以下更新站点:http: //dl.google.com/eclipse/plugin/4.2
Everything should work fine now.
现在一切正常。
回答by Kyle
I had the same issue, but I think it's because I was using eclipse Juno (the google documentation says to use indigo). The jetty project recently moved under the eclipse umbrella, and the jetty bundles (org.mortbay.jetty.server) were renamed (see http://www.eclipse.org/proposals/jetty/). Thus the 3.7 google plugins wouldn't be able to resolve dependencies correctly.
我遇到了同样的问题,但我认为这是因为我使用的是 eclipse Juno(谷歌文档说要使用 indigo)。码头项目最近转移到 eclipse 保护伞下,码头包 (org.mortbay.jetty.server) 被重命名(参见http://www.eclipse.org/proposals/jetty/)。因此 3.7 google 插件将无法正确解析依赖项。
回答by Vaishali Kulkarni
If you still want the earlier (3.x) version of the plugin try copying the plugins directory of some team member who already has that version of the plugin installed. I couldn't imagine the reason why google decomittioned the previous version of the plugin!
如果您仍然需要早期 (3.x) 版本的插件,请尝试复制已安装该版本插件的某个团队成员的 plugins 目录。我无法想象谷歌为什么要停用之前版本的插件!