我尝试安装基于https://maven.apache.org/install.html的maven on m 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的路径,有什么错误吗?
发布于 2019-06-11 21:30:39
这个问题已经解决了,我只是卸载了Jdk并通过you tube教程安装了正确的版本,因为您需要在您的环境变量中定义一个新的变量
https://stackoverflow.com/questions/56463310
复制相似问题