Home  >  Forum  >  Spring
Post New Query

org.xml.sax.SAXParseException: Content is not allowed in trailing section



Asked on April 23, 2013
Hi All,
I suddenly stuck with the below error. I did some change in my spring xml and then got the below error..

Caused by: org.xml.sax.SAXParseException: Content is not allowed in trailing section.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDriver.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)





Replied on April 23, 2013
I looks that by mistake you have written any character out of xml tag in spring xml.  You need to check your spring xml that is there any syntax error..

Write Answer







©2019 concretepage.com | Privacy Policy | Contact Us