EDIT
I tried to do gradle build
and it gives me this error:
package com.sun.org.apache.xerces.internal.dom is declared in module java.xml, which does not export it
I inspected gradle dependencies
, but no one uses java.xml
We use ElementNSImpl in only one part of our code (I don't know why...). Anyway, when I tried to switch to Java 11 Zulu, Eclipse gives me this error:
The type com.sun.org.apache.xerces.internal.dom.ElementNSImpl is not accessible
With OpenJDK 8 we have to import it using xerces:xercesImpl:2.6.2-jaxb-1.0.6
I inspected the class with Eclipse and it's a public class, under the Zulu 11 jar.