org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null".

strutstestcase | mickeykan | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MockStrutsTestCase

    strutstestcase | 8 years ago | mickeykan
    org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null".
  2. 0

    web-app_2_4.xsd supported?

    strutstestcase | 1 decade ago | nobody
    org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null".
  3. 0

    db:: 2.94::Unknown publisher / Signing standalone tomcat.exe 3m

    hivmr.com | 12 months ago
    org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 5.73::Error starting Activesync:Source adapter management is initializing 3m

    hivmr.com | 11 months ago
    org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null".
  6. 0

    problem in running apache 4.1

    Coderanch | 1 decade ago | Mandeep kaur
    org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null".

  1. rp 1 times, last 3 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xml.sax.SAXParseException

    Document root element "web-app", must match DOCTYPE root "null".

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
  2. Xerces2-j
    AbstractSAXParser.parse
    1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    2. org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    5. org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unknown Source)
    6. org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
    7. org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
    8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    9. org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
    10. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    11. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    12. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    13. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    14. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    15. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    15 frames
  3. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1567)
    1 frame
  4. servletunit.struts
    MockStrutsTestCase.setServletConfigFile
    1. servletunit.struts.MockStrutsTestCase.setServletConfigFile(MockStrutsTestCase.java:603)
    1 frame
  5. com.comerxia.idc
    TestLogin.setUp
    1. com.comerxia.idc.action.TestLogin.setUp(TestLogin.java:81)
    1 frame
  6. JUnit
    TestSuite.run
    1. junit.framework.TestCase.runBare(TestCase.java:125)
    2. junit.framework.TestResult$1.protect(TestResult.java:106)
    3. junit.framework.TestResult.runProtected(TestResult.java:124)
    4. junit.framework.TestResult.run(TestResult.java:109)
    5. junit.framework.TestCase.run(TestCase.java:118)
    6. junit.framework.TestSuite.runTest(TestSuite.java:208)
    7. junit.framework.TestSuite.run(TestSuite.java:203)
    7 frames
  7. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
    2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
    6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    6 frames