-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAILURE: gradle clean install or ./gradlew clean install #1147
Comments
Hello @RLWOHIO ! I think gradle 7.2 is not compatible with JDK 20 - thus the error "Unsupported class file major version 64". (the Grobid gradle wrapper uses the version of gradle indicated under gradle/wrapper/gradle-wrapper.properties, the version of Jacoco currently used in |
Thanks so much @kermitt2 ! The included gradle 7.2 does indeed require JDK 17. The build was successful! I have been warned by my admin though that JDK 17 is outdated and may pose security risks. Hopefully GroBid will update to newer versions of gradle and JDK soon. |
Hi,
I am unable to install GroBid with my local gradle (8.3 or 8.9) or the gradlew wrapper included in the grobid download. My system: HPC Linux cluster (4.18.0-553.8.1.el8_10.x86_64), JDK 20. Below are the errors. Please see details in the attached log files. I looked through the previous issues with regard to installation and did't get much help from the discussions therein. Thanks much for your help!
log.gradleWrapperIncluded.errors.txt
log.gradle8.9.errors.txt
./gradlew clean install
FAILURE: Build failed with an exception.
A problem occurred configuring root project 'grobid'.
gradle clean install //locally installed gradle 8.3 or 8.9
FAILURE: Build failed with an exception.
Where:
Build file '/home/rwang/grobid-0.8.0/build.gradle' line: 592
What went wrong:
A problem occurred evaluating root project 'grobid'.
Before creating a new issue, make sure you had a look at the official documentation. For specific questions, you can try the Mendable Q/A chat (NOTE: This is rather experimental, if not sure, make sure you double-check using the official documentation.)
What is your OS and architecture? Windows is not supported and Mac OS arm64 is experimentally supported. For non-supported OS, you can use Docker (https://grobid.readthedocs.io/en/latest/Grobid-docker/)
What is your Java version (
java --version
)?In case of build or run errors, please submit the error while running gradlew with
--stacktrace
and--info
for better log traces (e.g../gradlew run --stacktrace --info
) or attach the log filelogs/grobid-service.log
or the console log.The text was updated successfully, but these errors were encountered: