我尝试根据以下内容安装Maven Onm Win 10 https://maven.apache.org/install.html
用于安装软件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有关,我只是在Jenk中添加了JDK的路径,如第一个链接中所述,这有什么错误吗?
答案 0 :(得分:0)
此问题已解决,由于您需要在环境变量中定义一个新变量
,所以我刚刚通过YouTube教程卸载了Jdk并安装了正确的版本。