title: How to add java.xml.bind (jaxb) as a module in java 11?
body: <p>I'm already switching java version from 8 to 11 in one of the project and facing with the problem with removed ee modules (jeps320). </p>
  
  <p>I'm using gradle to build the project and added as a runtime dependency 
  '<code>org.glassfish.jaxb:jaxb-runtime:2.4.0-b180830.0438</code>'</p>
  
  <p>and I have this jar inside created project spring boot fat jar in the library. Unfortunatelly I got th following expcetion </p>
  
  <pre><code>javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
   - with linked exception: [java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory]
  </code></pre>
  
  <p>(I didn"t add java.xml.bind to the module-info and when I'm trying to start an app from command line with the switche --add-modules="java.xml.bind" I got an error.</p>
  
  <pre><code>java.lang.module.FindException: Module javax.xml.bind not found
  </code></pre>
  
  <p>Any idea? How to solve this?</p>