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 Coderanch by lalit mohan, 1 year ago
Document root element "taglib", must match DOCTYPE root "null".
via ajaxtags by nobody
, 1 year ago
Document root element "taglib", must match DOCTYPE root "null".
via Oracle Community by 843842, 1 year ago
Document root element "taglib", must match DOCTYP E root "null".
via hivmr.com by Unknown author, 1 year ago
Document root element "web-app", must match DOCTY PE root "null".
via Oracle Community by 843841, 1 year ago
Document root element "web-app", must match DOCTY PE root "null".
via Coderanch by Mandeep kaur, 1 year ago
Document root element "web-app", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "taglib", must match DOCTYPE root "null".	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.dtd.XMLDTDValidator.rootElementSpecified(Unknown Source)	at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)	at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)	at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.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.DTDConfiguration.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:1567)	at org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig.java:928)	at org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:862)	at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:809)	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:587)	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:181)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3523)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)	at org.apache.catalina.core.StandardService.start(StandardService.java:450)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)	at org.apache.catalina.startup.Catalina.start(Catalina.java:463)	at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)	at org.apache.catalina.startup.Catalina.process(Catalina.java:129)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)