Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org.jdom.input.JDOMParseException: Content is not allowed in trailing section

Tags:

java

i work with jdom .this error was take place:

org.jdom.input.JDOMParseException: Error on line 252 of document Articles.xml: Content is not allowed in trailing section.
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:530)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:905)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:884)

how can solve this error ?

thank you!

like image 658
user608098 Avatar asked Feb 22 '26 05:02

user608098


1 Answers

Check that your XML is valid and that there are no non-whitespace characters after the last closing tag of your XML document.

like image 146
dogbane Avatar answered Feb 24 '26 12:02

dogbane



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!