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

Samebug tips

,

The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via Oracle Community by 843834, 1 year ago
via directory-users by Juergen Weber, 1 year ago
Content is not allowed in prolog.
via hivmr.com by Unknown author, 1 year ago
via GitHub by sbesson
, 11 months ago
Content is not allowed in prolog.
via Stack Overflow by star
, 2 years ago
cvc-complex-type.3.2.2: Attribute 'delFiles' is not allowed to appear in element 'ftp:connector'.
via Stack Overflow by Mark Bennett
, 1 year ago
cvc-complex-type.2.4.b: The content of element 'poll' is not complete. One of '{"http://www.mulesoft.org/schema/mule/core":annotations, "http://www.mulesoft.org/schema/mule/core":abstract-message-processor, "http://www.mulesoft.org/schema/mule/core":abstract-outbound-endpoint, "http://www.mulesoft.org/schema/mule/core":abstract-mixed-content-message-processor}' is expected.
org.xml.sax.SAXParseException: Content is not allowed in prolog.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 days ago
2 times, 3 weeks ago
2 times, 3 weeks ago
7 times, 6 months ago
2 times, 6 months ago
50 more bugmates

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