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 srivathsa.kodangal, 1 year ago
via Google Groups by DigiDarshan, 10 months ago
Document is invalid: no grammar found.
via Coderanch by Jeff Horan, 1 year ago
Document is invalid: no grammar found.
via Coderanch by Varun Nayudu, 1 year ago
via netbeans.org by Unknown author, 2 years ago
Document root element "faces-config", must match DOCTYPE root "null".
via Icesoft by axismundi, 1 year ago
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.commons.digester.Digester.parse(Digester.java:1764)	at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:186)	at org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:380)	at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)	at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)	at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)	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:597)	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)	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:597)	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)	at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)	at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)	at org.jboss.web.WebModule.startModule(WebModule.java:83)	at org.jboss.web.WebModule.startService(WebModule.java:61)	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)