org.springframework.dao.DataAccessResourceFailureException: Error while reading from event reader; nested exception is javax.xml.stream.XMLStreamException: ParseError at [row,col]:[8,2] Message: Element type "thing" must be followed by either attribute specifications, ">" or "/>".

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 drekbour, 1 year ago
Error while reading from event reader; nested exception is javax.xml.stream.XMLStreamException: ParseError at [row,col]:[8,2] Message: Element type "thing" must be followed by either attribute specifications, ">" or "/>".
via Spring JIRA by drekbour, 1 year ago
Error while reading from event reader; nested exception is javax.xml.stream.XMLStreamException: ParseError at [row,col]:[8,2] Message: Element type "thing" must be followed by either attribute specifications, ">" or "/>".
via spring.io by Unknown author, 2 years ago
Error while reading from event reader; nested exception is javax.xml.stream.XMLStreamException: ParseError at [row,col]:[48959,15] Message: XML document structures must start and end within the same entity.
org.springframework.dao.DataAccessResourceFailureException: Error while reading from event reader; nested exception is javax.xml.stream.XMLStreamException: ParseError at [row,col]:[8,2] Message: Element type "thing" must be followed by either attribute specifications, ">" or "/>".
at org.springframework.batch.item.xml.StaxEventItemReader.moveCursorToNextFragment(OXMStaxEventItemReader.java:198)
at org.springframework.batch.item.xml.StaxEventItemReader.doRead(OXMStaxEventItemReader.java:336)
at org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader.read(AbstractItemCountingItemStreamItemReader.java:85)
at org.springframework.batch.item.file.MultiResourceItemReader.readNextItem(MultiResourceItemReader.java:111)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.