Question: why jaxb removed in java 11?
Answer: JAXB 2.0 was released under JSR 222 and becomes part of JDK since Java 6 to add support for the Web Services stack (under package javax. ... In Java 11, JAXB has been removed from JDK (together with other JEE related modules based on JEP 320) and we need to add it to the project as a separate library via Maven or Gradle.