java - 无法安装 Eclipse UIMA 插件

标签 java eclipse uima eclipse-neon

我正在关注

上的文档

http://uima.apache.org/downloads/releaseDocs/2.2.2-incubating/docs/html/overview_and_setup/overview_and_setup.html#ugr.ovv.eclipse_setup

当我尝试安装 UIMA 工具插件时,我得到

Cannot complete the install because one or more required items could not be found.
  Software being installed: UIMA Tools (includes Runtime) 2.8.1 (org.apache.uima.tools.feature.group 2.8.1)
  Missing requirement: UIMA Eclipse: uimaj-ep-jcasgen 2.3.1 (org.apache.uima.jcas.jcasgenp 2.3.1) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Missing requirement: Apache UIMA Eclipse: uimaj-ep-jcasgen 2.4.0 (org.apache.uima.jcas.jcasgenp 2.4.0) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Missing requirement: Apache UIMA Eclipse: uimaj-ep-jcasgen 2.4.1 (org.apache.uima.jcas.jcasgenp 2.4.1) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Missing requirement: Apache UIMA Eclipse: uimaj-ep-jcasgen 2.4.2 (org.apache.uima.jcas.jcasgenp 2.4.2) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Missing requirement: Apache UIMA Eclipse: uimaj-ep-jcasgen 2.5.0 (org.apache.uima.jcas.jcasgenp 2.5.0) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Missing requirement: Apache UIMA Eclipse: uimaj-ep-jcasgen 2.6.0 (org.apache.uima.jcas.jcasgenp 2.6.0) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Missing requirement: Apache UIMA Eclipse: uimaj-ep-jcasgen 2.7.0 (org.apache.uima.jcas.jcasgenp 2.7.0) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Missing requirement: Apache UIMA Eclipse: uimaj-ep-jcasgen 2.8.0 (org.apache.uima.jcas.jcasgenp 2.8.0) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Missing requirement: Apache UIMA Eclipse: uimaj-ep-jcasgen 2.8.1 (org.apache.uima.jcas.jcasgenp 2.8.1) requires 'package org.eclipse.core.internal.compatibility 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: UIMA Tools (includes Runtime) 2.8.1 (org.apache.uima.tools.feature.group 2.8.1)
    To: org.apache.uima.jcas.jcasgenp 0.0.0

在哪里可以安装这个包

org.eclipse.core.internal.compatibility 0.0.0'

这样我就可以安装

uimaj-ep-jcasgen 2.8.1 (org.apache.uima.jcas.jcasgenp 2.8.1)

我正在使用 Eclipse Neon,并且能够安装适用于 Neon 的 Eclipse EMF 工具。

最佳答案

解决方法:

  • 复制 $UIMA_HOME/eclipsePlugins/* 的内容到 $ECLIPSE_HOME/eclipse/plugins/
    (其中>$UIMA_HOME 是您安装 UIMA SDK 的位置 $ECLIPSE_HOME 是安装 eclipse 的位置)
  • 然后使用“-clean”运行eclipse

注意:在 Linux 和 uima 2.9 上使用 Eclipse neon

关于java - 无法安装 Eclipse UIMA 插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38976091/

相关文章:

java - 如何让Java不调用外部lib

java - 提供参数时查询不起作用

eclipse - 如何在 Eclipse 中启用重复选项卡? (即重复的窗口)

uima - XmiCasDeserializer 未按预期工作

java - Apache Karaf 是否处理任何 JAR 或 WAR 的热部署?

java - Android 开发初学者遇到问题

eclipse - 权限被拒绝在 Ubuntu 上启动 Eclipse

c++ - 通过 C++ 源代码控制两个直流电机(在 arduino 上)

java - 将 jcas 对象转换为 json 对象

java - 在 Eclipse 中重构或重命名类导入