Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via Icesoft by axismundi, 1 year ago
via netbeans.org by Unknown author, 2 years ago
Document root element "faces-config", must match DOCTYPE root "null".
via Coderanch by Jeff Horan, 1 year ago
Document is invalid: no grammar found.
via genuitec.com by Unknown author, 2 years ago
Document root element “faces-config”, must match DOCTYPE root “null”.
via Coderanch by Varun Nayudu, 1 year ago
via Google Groups by DigiDarshan, 10 months ago
Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)	at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)	at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)	at org.apache.commons.digester.Digester.parse(Digester.java:1548)	at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)	at org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:251)	at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:129)	at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)	at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)