14

我正在尝试使用 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"

我试图找到org.mortbay.jetty.server可以处理的东西,但我没有找到。有人知道吗?

4

3 回答 3

32

这是因为您正在尝试使用最新的 Juno 版本 4.2,以及 3.7 的插件链接。

使用以下更新站点:http: //dl.google.com/eclipse/plugin/4.2

现在一切都应该正常了。

于 2012-07-11T05:32:18.937 回答
2

我有同样的问题,但我认为这是因为我使用的是 eclipse Juno(谷歌文档说使用 indigo)。jetty 项目最近转移到了 eclipse 的保护伞下,并且 jetty 包 (org.mortbay.jetty.server) 被重命名(参见http://www.eclipse.org/proposals/jetty/)。因此 3.7 版的 google 插件将无法正确解析依赖关系。

于 2012-07-08T15:38:23.103 回答
2

如果您仍然想要插件的早期 (3.x) 版本,请尝试复制一些已经安装该插件版本的团队成员的插件目录。我无法想象 google 取消之前版本插件的原因!

于 2013-01-31T14:24:50.193 回答