We are migrating to openjdk 11 from jdk 8. Some of our projects that uses soap to call third party apis are failing with error:
java.lang.NoClassDefFoundError: j
The javax
APIs were transitioned to Jakarta
, so in 2020 the proper dependency is the following:
jakarta.xml.ws
jakarta.xml.ws-api
2.3.3
Here's an article summarizing what happened: Java Magazine - Transition from Java EE to Jakarta EE
And here's a very useful table with mappings between the old artifacts and the new one.