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

viralpatel.net | 1 month 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

    Hibernate Example on Eclipse and Oracle - DeepakGaikwad.net

    deepakgaikwad.net | 10 months ago
    org.hibernate.MappingException: invalid configuration
  2. 0

    Hibernate -4.x What header should I use in cfg.xml file?

    Coderanch | 5 years ago | Witold Marshal
    java.lang.ExceptionInInitializerError
  3. 0

    Spring MVC Tutorial with Eclipse and Tomcat - DeepakGaikwad.net

    deepakgaikwad.net | 1 year ago
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 4 in XML document from ServletContext resource [/WEB-INF/SpringMVCTutorial-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element ‘beans’.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse no longer runs application

    Google Groups | 7 years ago | rben
    org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of > element 'd:layout-devices' is not complete. One of '{"http:// > schemas.android.com/sdk/android/layout-devices/1":device}' is > expected. >         at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException > (Unknown Source) >         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError > (Unknown Source) >         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator > $XSIErrorReporter.reportError(Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidComplexType > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement > (Unknown Source) >         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl > $NSContentDriver.scanRootElementHook(Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl > $FragmentContentDriver.next(Unknown Source) >         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl > $PrologDriver.next(Unknown Source) >         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument > (Unknown Source) >         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > (Unknown Source) >         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate > (Unknown Source) >         at > com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate > (Unknown Source) >         at javax.xml.validation.Validator.validate(Unknown Source)
  6. 0

    Hibernate App Issue

    Coderanch | 9 years ago | Srinivas Nagesh
    java.lang.ExceptionInInitializerError

  1. chenjunjun 1 times, last 3 months ago
2 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 com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException()
  2. Java RT
    SAXParser.parse
    1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
    3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
    4. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
    5. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    6. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown Source)
    7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
    8. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
    9. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
    10. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
    11. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    12. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    13. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    14. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    15. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
    16. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    17. javax.xml.parsers.SAXParser.parse(Unknown Source)
    17 frames
  3. XWork
    ConfigurationManager.getConfiguration
    1. com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)
    2. com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:941)
    3. com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:155)
    4. com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:122)
    5. com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
    6. com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
    6 frames
  4. Struts2
    FilterDispatcher.init
    1. org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
    2. org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)
    3. org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)
    3 frames
  5. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
    2. org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
    3. org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
    4. org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)
    5. org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)
    6. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    7. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    8. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    9. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    10. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    11. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    12. org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    12 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:623)
    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