Topic:   StAX the odds with Woodstox.
Feb 17, 2021 12:43 0 Replies 41 Views RANJIT

I'm getting an exception thrown because of this line

xtw = (XMLStreamWriter2)xof.createXMLStreamWriter(new FileWriter(filename));

Exception occurred while writing java.lang.ClassCastException: com.sun.xml.internal.stream.XMLOutputFactoryImpl cannot be cast to org.codehaus.stax2.XMLStreamWriter2

is what the terminal is spitting back at me! Just wondering how to resolve this issue so I can continue to follow along.

Prev Next
Topic Replies (0)
Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect