python - 我想安装 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 的路径,有没有出错?
解决方案
它已经解决了,我刚刚卸载了 Jdk 并通过你的管教程安装了正确的版本,因为你需要在你的环境变量中定义一个新变量
推荐阅读
- onesignal - OneSignal 中等效的 Firebase 云消息传递主题
- junit - 为什么 Junit assertThat() 传递两个对象,尽管对象不相等?
- node.js - NodeJS MongoDB计数字段中具有相同值的条目
- python - Python request() 获取 json 在浏览器中与脚本中给出不同的正文
- swift - 为什么 Swift NumberFormatter 需要一个不间断的空间才能正常工作?
- c++ - 只用谷物反序列化一些变量
- c# - 列出 Kestrel 提供的端点?
- android - 如何从 JSON 数组数据输出中删除大括号 []?
- ios - SDWebImage 不适用于将西班牙字母转换为图像名称 iOS Swift
- python - 我尝试创建一个 lambda 函数并尝试返回元组值,但我收到生成器对象错误