java.lang.UnsupportedOperationException: XStreamMarshaller does not support unmarshalling using SAX XMLReaders
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via Spring JIRA by Stijn Vranckx, 2 years ago
via Spring JIRA by Stijn Vranckx, 1 year ago
via Spring JIRA by cyril vid, 1 year ago
via Spring JIRA by cyril vid, 2 years ago
java.lang.UnsupportedOperationException: XStreamMarshaller does not support unmarshalling using SAX XMLReaders
at org.springframework.oxm.xstream.XStreamMarshaller.unmarshalSaxReader(XStreamMarshaller.java:460)
at org.springframework.oxm.support.AbstractMarshaller.unmarshalSaxSource(AbstractMarshaller.java:341)
at org.springframework.oxm.support.AbstractMarshaller.unmarshal(AbstractMarshaller.java:131)
at org.springframework.batch.item.xml.StaxEventItemReader.doRead(StaxEventItemReader.java:222)
at org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader.read(AbstractItemCountingItemStreamItemReader.java:85)