Open jpittis opened 11 months ago
I think this issue is due to JDk17. Try using JDK8 to build. https://sdkman.io/ would be helpful in managing multiple java versions.
Thanks so much. After installing sdkman, I was able to successfully build Mantis using JDK8:
$ sdk install java 8.0.392-amzn
$ ./gradlew --info --stacktrace build --warning-mode=all
BUILD SUCCESSFUL in 4m 6s
We should action this ticket by updating the docs from claiming "JDK 8 or higher" to just "JDK 8" and potentially mention sdkman as well as a recommended vendor and version.
Summary
Hey folks. I'm having some difficulty building the complete Mantis project, as well as its examples from source.
I assume this is my environment being incorrectly configured rather than an issue with the master branch.
It would be awesome if we could figure out what's missing and update the docs to include those dependencies.
Thanks for taking a look!
Reproduction
I get errors when following the build instructions in the README:
I get similar errors when following the instructions from the "Local" tutorial:
I've demonstrated my environment is at least somewhat correctly setup by successfully building mantis-mql from source:
Here's some metadata around what I believe is being used to build Mantis:
Details
It looks like at least two tasks are failing with quite loud stacktraces which I'm partially summarizing below: