让 UIMA 与 Eclipse 一起工作——找不到文档分析器的​​主要内容

Getting UIMA working with Eclipse-- Cannot find main for Document Analyzer

我正在尝试使用 Eclipse 为 Java 设置 UIMA。

我从 Apache 下载了 UIMA 二进制 zip,解压它,把它放在我配置的目录中 我的 bash 配置文件和 Eclipse 中的 UIMA_HOME 环境变量。我还将我的路径设置为 UIMA 自述文件指示。我从终端 运行 adjustExamplePaths.sh 没有错误。我能够 运行 通过终端的文档分析器没有错误;我能够看到示例注释。

在 eclipse 中我下载了 EMF 插件和两个 UIMA 插件。然后测试是否一切正常 Eclipse,我(从现有项目)导入了 UIMA_HOME 中的示例文件夹。我运行它,select 列表中的文档分析器,我收到以下错误:

错误:找不到或无法加载主程序 class org.apache.uima.tools.docanalyzer.DocumentAnalyzer

自从我将 uima-tools.jar 添加到文档分析器的​​ class 路径中,我仍然得到 同样的错误。

任何建议都会有所帮助。

谢谢!

目前 Eclipse 附带的 运行 配置存在问题。 UIMA 开发人员正在对此进行调查。

On 18.08.2015, at 05:38, Marshall Schor <msa@schor.com> wrote:

tracked this down to a couple of lines that have sneaked into the launch
configurations that are associated with Maven / eclipse integration.

When those lines are removed, the launchers work.

http://markmail.org/message/fhznbjdeiafv7ke2