org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".

Coderanch | Fernando Salgueiro | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java Spring issue on beans.xml file

    Coderanch | 3 years ago | Fernando Salgueiro
    org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".
  2. 0

    Practical Coding: October 2013

    blogspot.com | 6 months ago
    org.xml.sax.SAXParseException: Document root element "jasperReport", must match DOCTYPE root "null".

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      Document root element "beans", must match DOCTYPE root "null".

      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException()
    2. Java RT
      XMLDTDValidator.startElement
      1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
      2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
      3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
      4. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
      5. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1621)
      6. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1900)
      7. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:764)
      7 frames