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 Ritchie Warsi, 1 year ago
Document is invalid: no grammar found.
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 denoo.info by Unknown author, 1 year 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)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)	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)	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)	at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)	at undefined.$Proxy0.start(Unknown Source)	at org.jboss.system.ServiceController.start(ServiceController.java:417)	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)	at undefined.$Proxy45.start(Unknown Source)	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)	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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)	at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)	at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)	at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)	at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)	at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)	at undefined.$Proxy46.start(Unknown Source)	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)	at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)	at undefined.$Proxy9.deploy(Unknown Source)	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)