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

Icesoft | axismundi | 9 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

    can't get seam-component-showcase to work with Seam 2.0.0-beta1

    Icesoft | 9 years ago | axismundi
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
  2. 0

    Document root element "faces-config" must match DO - Genuitec

    genuitec.com | 1 year ago
    org.xml.sax.SAXParseException: Document root element “faces-config”, must match DOCTYPE root “null”.
  3. 0

    web.xml / faces-config.xml configuration issues

    Stack Overflow | 4 years ago | Glenninator
    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

    Update JasperReports Library in ATR to test for collateral damage to reports

    GitHub | 6 years ago | StevensBrian
    net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was found starting with element 'paragraph'. No child element is expected at this point.
  6. 0

    Caused by: org.xml.sax.SAXParseException: Attribute "path" must be declared for element type "definition"

    Stack Overflow | 3 years ago | user2957656
    org.xml.sax.SAXParseException: Attribute "path" must be declared for element type "definition".

  1. musketyr 2 times, last 1 week ago
  2. jpvee 5 times, last 2 months ago
8 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
    SAXParserImpl$JAXPSAXParser.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)
    13. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    13 frames
  3. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1548)
    1 frame
  4. Impl
    StartupServletContextListener.contextInitialized
    1. org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
    2. org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:251)
    3. org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:129)
    4. org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
    5. org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
    5 frames
  5. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
    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:585)
    4 frames
  7. Embedded GlassFish Web
    BaseModelMBean.invoke
    1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
    1 frame
  8. JBoss Application Server J2SE
    RawDynamicInvoker.invoke
    1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    1 frame