If you get below mentioned error
[Fatal Error] :1:7717: XML document structures must start and end within the same entity.
Exception in thread "main" org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
As the error suggest XML document is not formatted properly. Kindly go through the XML and look for any missing tags.
Exception in thread "main" org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
As the error suggest XML document is not formatted properly. Kindly go through the XML and look for any missing tags.