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

blogjava.net | 3 months 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

    Struts2 upgrade error

    Stack Overflow | 6 years ago | user373201
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
  2. 0

    Hibernate Example on Eclipse and Oracle - DeepakGaikwad.net

    deepakgaikwad.net | 11 months ago
    org.hibernate.MappingException: invalid configuration
  3. 0

    Problems Validating XML against Schema

    Coderanch | 5 years ago | Avinash Ga
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'person'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    XML Validation: Cannot find the declaration of element 'vxml'

    Google Groups | 9 years ago | chucky
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'vxml'.
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 com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException()
  2. Java RT
    SAXParserImpl$JAXPSAXParser.parse
    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.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:250)
    6. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
    7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3088)
    8. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:914)
    9. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
    10. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
    11. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
    12. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    13. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    14. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
    15. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    16. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    16 frames
  3. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1591)
    1 frame
  4. Apache Commons Validator
    ValidatorResources.<init>
    1. org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
    1 frame
  5. struts
    ActionServlet.init
    1. org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
    2. org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
    3. org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
    4. org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    4 frames
  6. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
    1 frame
  7. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    8. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)
    9. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)
    10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
    11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
    12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    15. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    18. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    19. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    20. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    20 frames
  8. 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
  9. 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