org.xml.sax.SAXParseException: Content is not allowed in prolog.

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 hivmr.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via Oracle Community by 843834, 1 year ago
The processing instruction target matching "[xX][mM][lL]" is not allowed.
via Oracle Community by 843833, 1 year ago
An invalid XML character (Unicode: 0xd863) was found in the element content of the document.
via Stack Overflow by meepin
, 2 years ago
The entity name must immediately follow the '&' in the entity reference.
via Google Groups by Federico Tolomei, 2 years ago
Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at undefined.SimpleXML1.main(SimpleXML1.java:34)

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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