Open moebaid opened 3 years ago
Hi, thanks for reporting. The most likely cause is that this quite old code does not build on current Java JDK. A short-term fix would be to modify the pom.xml to fall back to Java X, where X=8 or X=11. Yours, Steffen
Hi, your issue prompted me to enable build testing at
https://github.com/MassBank/MassBank2NIST/actions
and as you see after a few broken builds (which had the same
error as you showed above) things work again. You will need
The Java 8 JDK for building since JDK 11 has another issue.
Running java -jar target/MassBank2NIST-0.0.2-SNAPSHOT.jar
works with JRE 11 just fine.
I don't yet know how the GitHub maven repository works to publish that Jar file.
Yours,
Steffen
If you go to https://github.com/MassBank/MassBank2NIST/packages/716384
at the right you can download the ready-built massbank2nist-0.0.4.jar
.
Yours, Steffen
Thanks for responding! So ideally I should have JDK 8 and JRE 11 installed?
If you take the above prebuilt massbank2nist-0.0.4.jar JRE11 (or maybe even later ?) should work. If you want to build yourself, JDK 8 is mandatory. Yours, Steffen
When I try to compile the package following the instructions in the README:
mvn clean package
I get a DependencyResolutionException:
I haven't made any edits to the package, and it seems it can't collect the dependencies correctly.