首页 > 解决方案 > 我想安装 maven 以使用软件调用 GROBID

问题描述

我尝试基于 https://maven.apache.org/install.html安装 maven onm win 10

用于安装软件 GROBID_NER

https://grobid-ner.readthedocs.io/en/latest/build-and-install/

但不幸的是我遇到了这个错误,谁能告诉我我该怎么做?

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project grobid-ner: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_211\..\lib\tools.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

我认为这与我的 jdk 有关,我只是在第一个链接中提到的我的环境中添加了一个 JDK 的路径,有没有出错?

标签: pythonmaveninstallationgrobid

解决方案


它已经解决了,我刚刚卸载了 Jdk 并通过你的管教程安装了正确的版本,因为你需要在你的环境变量中定义一个新变量


推荐阅读