【问题标题】:In Eclipse 4.4 RCP builds, "The service Plugin converter could not be acquired."在 Eclipse 4.4 RCP 构建中,“无法获取服务插件转换器”。
【发布时间】:2014-07-22 20:12:16
【问题描述】:

在更新到最新的 Eclipse 4.4 IDE 面向 RCP 和 RAP 开发人员的 Eclipse 后,我们的 RCP 应用程序开始出现以下构建错误。这些发生在多个 Windows 和 Mac 平台上,在一个普通的 Eclipse IDE 安装中,没有额外的插件。

  generateFeature:
  [eclipse.generateFeature] The service Plugin converter could not be acquired.
  [eclipse.generateFeature] The service Plugin converter could not be acquired.
  [eclipse.generateFeature] The service Plugin converter could not be acquired.
  ... 

在 Eclipse 4.3.2 IDE 中构建继续成功。唯一不同的是IDE。 (构建以“在与工作区相同的 JRE 中运行”启动,使当前的 IDE 相关。)

谷歌搜索“无法获取插件转换器”导致两个链接,这两个链接都不是特别有用。

如何消除这些错误?

【问题讨论】:

    标签: java eclipse-rcp e4


    【解决方案1】:

    我花了一段时间才找到。这个答案是为了他人的利益。

    Eclipse 4.4 删除了对没有 OSGi 捆绑清单的 Eclipse 2.0 插件的内置支持。这是为了鼓励迁移到 OSGi 包。

    迁移到 OSGi 包是最好的方法。

    或者,可以将兼容性插件添加到 IDE。要安装它:

    1. 帮助>安装新软件
    2. 选择站点Eclipse 项目更新 - http://download.eclipse.org/eclipse/updates/4.4
    3. 扩展类别Eclipse 测试、示例和附加功能。
    4. 检查项目Eclipse 2.0 Style Plugin Support
    5. 继续完成向导的其余部分。

    参考文献:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多