簡體   English   中英

我想安裝 maven 以使用軟件調用 GROBID

[英]I want tot install maven for using a software call 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並通過You Tube教程安裝了正確的版本,因為您需要在您的環境變量中定義一個新變量

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM