In Java 8, I've been using these packages:
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import javax.xml.transform.stream.StreamSource;
Now, in Java 10, they cannot be resolved. What Maven dependency should I include? I don't want to use modules.
Solution:
Exclude old Maven dependencies stax-api and xml-apis from old libraries.