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

Icesoft | liyaqatm | 7 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

    Document root element "faces-config", must match DOCTYPE root "null"

    icesoft.org | 1 year ago
    org.xml.sax.SAXParseException: Document root element "faces-config", must match DOCTYPE root "null".
  2. 0

    Document root element "faces-config", must match DOCTYPE root "null"

    Icesoft | 7 years ago | liyaqatm
    org.xml.sax.SAXParseException: Document root element "faces-config", must match DOCTYPE root "null".
  3. 0

    Document root element "faces-config", must match DOCTYPE root "null"

    Icesoft | 6 years ago | srivathsa.kodangal
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Parse Error while Reading config /WEB-INF/faces-config.xml

    Oracle Community | 5 years ago | 924678
    org.xml.sax.SAXParseException: Element type "resource-bundle" must be declared.
  6. 0

    Struts mapping exception

    Stack Overflow | 4 years ago | 123Ex
    org.xml.sax.SAXParseException: The content of element type "action-mappings" must match "(action)*".

  1. rp 1 times, last 2 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 "faces-config", must match DOCTYPE root "null".

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
  2. Xerces2-j
    AbstractSAXParser.parse
    1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
    2. org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
    3. org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
    4. org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
    5. org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1553)
    6. org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1844)
    7. org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:752)
    8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:752)
    9. org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:942)
    10. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1520)
    11. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
    12. org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
    13. org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
    14. org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    15. org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
    15 frames
  3. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1647)
    1 frame
  4. Impl
    StartupServletContextListener.contextInitialized
    1. org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:186)
    2. org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:380)
    3. org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
    4. org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
    5. org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
    5 frames
  5. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
    3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    4. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    7. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    8. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    9. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    9 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  7. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames