I am migrating my project from java 8 to openJDK 11. In my code I use the classes
import com.sun.org.apache.xml.internal.dtm.DTM;
import com.sun.org.apache.xml.internal.dtm.DTMManager;
import com.sun.org.apache.xml.internal.dtm.ref.sax2dtm.SAX2DTM;
import com.sun.org.apache.xml.internal.utils.XMLStringFactory;
import com.sun.org.apache.xpath.internal.objects.XMLStringFactoryImpl
I am using eclipse. I am getting the error that the types are not accessible. I also tried this post with the last import How to tell eclipse to add-exports when compiling
But it did not work. Any idea how could we fix this? Does the error mean that the packages have become internal and should be replaced in the code?