Closed cristalp closed 4 weeks ago
@cristalp thanks for reporting this issue! We will try to improve our documentation.
There is no need to explicitly specify a core(-jakarta) dependency. Each version of the validation-model(-jakarta) depends on a specific core(-jakarta) version and that version should be pulled up automatically.
Thanks for the information! Well, in my case, we check in the build that all dependencies that are required are also stated in the Maven POM. This helps keep the dependencies tidy. We use the Maven Dependency plugin for that.
@cristalp The documentation has been updated: https://docs.verapdf.org/develop/#javax-vs-jakarta
I'm using veraPDF within a Quarkus project. During build time, everything went smoothly, but then as soon as I built the image and ran it, I got
java.lang.NoClassDefFoundError: javax/activation/DataSource
.MaximPlusov thankfully pointed me to "javax vs jakarta" and I tried this, but got the same result.
By chance, however, I noticed that using
org.verapdf:validation-model-jakarta
was not enough, since I was still usingorg.verapdf:core
. I have to useorg.verapdf:core-jakarta
. With that dependency, everything runs smoothly.Could you please add this information to your documentation? I'm sure it would help the new developer who encounters the problem.
Thanks a lot for this great library!