title: cannot access class jdk.xml.internal.JdkXmlUtils
body: <p>I'm updating an old Company-intern extension for hybris/SAP-Commerce (2005). it's an extension to consume an API.</p>
  <p>I don't know how old the extension is.</p>
  <p>However, while applying it to java 11, I spot problems like this (<a href="https://stackoverflow.com/questions/57318521/java-11-import-javax-xml-ws-webfault-cannot-resolve-symbol-ws">Java 11: import javax.xml.ws.WebFault: &quot;Cannot resolve symbol ws&quot;</a>).</p>
  <p>After rerun the command ./hybrisserver.sh, a given (read only) '.jar' file throws follow exception:</p>
  <pre><code>Failed to instantiate [&lt;class from given .jar&gt;]:
              Constructor threw exception;
          nested exception is java.lang.IllegalAccessError:
              class com.sun.org.apache.xml.internal.resolver.Catalog (in unnamed module @0x9a92113) cannot access class jdk.xml.internal.JdkXmlUtils (in module java.xml) because module java.xml does not export jdk.xml.internal to unnamed module @0x9a92113
  </code></pre>
  <p>I thought it could be a jdk problem, so I tried different distributions.
  (I'm working on Manjaro Linux KDE 20.1 with sdkman)
  Follow distributions I've tested:</p>
  <pre><code> Vendor        | Version      | Dist    | Identifier
  --------------------------------------------------------
   AdoptOpenJDK  | 11.0.8.j9    | adpt    | 11.0.8.j9-adpt      
   Java.net      | 11.0.8       | open    | 11.0.8-open       
   SAP           | 11.0.8       | sapmchn | 11.0.8-sapmchn 
  </code></pre>
  <p>Each of it throw the same error</p>