Closed ghost closed 2 months ago
I found this StackOverflow page. It seems I'm very close, and I am using Jakarta for my own annotations for my own classes, but none touch this code.
Please close this ticket as it was opened under the wrong project. Apologies for the mistake.
To my knowledge Jakarta runtime requires Java 11
There are a few other questions like this on this thread, please forgive me if this is repetitive, but maybe the versions matter.
I'm using Java 1.8 (I cannot change this) and therefore using this Gradle dependencies:
My Gradle wrapper is 7.5.1
My unit tests pass when running in the IntelliJ Gradle window, but not when calling
./gradlew test
from the command line. When running from the command line, the system throws an exception on this line:final InvoiceType ubl2_1Object = UBL21Reader.invoice().read(document);
With the stack trace:
I'm wondering if I have some runtime parameters that are missing or if it's a dependency. I would imagine if the document truly does not abide by UBL21 standards the IntelliJ tests would fail as well.
Any ideas from anyone? Thanks to all for maintaining this project.