org.xml.sax.SAXParseException: Document is invalid: no grammar found.

Icesoft | srivathsa.kodangal | 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 | 7 years ago | srivathsa.kodangal
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
  2. 0

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

    icesoft.org | 2 years ago
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
  3. 0

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

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

    tomcat

    Google Groups | 1 decade ago | luca
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.

  1. rp 1 times, last 5 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 is invalid: no grammar found.

    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.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    6. org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
    7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    10. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    11. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    12. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    12 frames
  3. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1764)
    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
    StandardHost.addChild
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    5 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:597)
    4 frames
  7. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    1 frame
  8. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    2 frames
  9. Glassfish Core
    StandardContext.init
    1. org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
    1 frame
  10. 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:597)
    4 frames
  11. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    1 frame
  12. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    2 frames
  13. JBoss Application Server Tomcat
    TomcatDeployer.performDeploy
    1. org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
    2. org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
    2 frames
  14. JBoss Application Server Server
    WebModule.startService
    1. org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
    2. org.jboss.web.WebModule.startModule(WebModule.java:83)
    3. org.jboss.web.WebModule.startService(WebModule.java:61)
    3 frames
  15. JBoss Application Server System
    ServiceMBeanSupport.jbossInternalLifecycle
    1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    2 frames