【问题标题】:Installing GWT plugin with Eclipse使用 Eclipse 安装 GWT 插件
【发布时间】:2013-01-31 22:24:50
【问题描述】:

我正在尝试使用 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 可以处理的内容,但没有找到。有人知道吗?

【问题讨论】:

标签: eclipse gwt


【解决方案1】:

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

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

现在一切正常。

【讨论】:

  • 这是不正确的链接。它指向安装过程,而不是下载。
  • @codingscientist 您应该添加并启用此链接到 Eclipse 中的“可用软件源”列表,并使用它从“安装新软件”选项下载必要的文件。
【解决方案2】:

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

【讨论】:

    【解决方案3】:

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

    【讨论】:

      猜你喜欢
      • 2012-07-01
      • 2012-05-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多