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 Atlassian JIRA by Armond Avanes, 1 year ago
Document is invalid: no grammar found.
via Atlassian JIRA by Armond Avanes, 1 year ago
Document is invalid: no grammar found.
via Icesoft by srivathsa.kodangal, 1 year ago
via Coderanch by Varun Nayudu, 1 year ago
via ajaxtags by nobody
, 1 year ago
Document is invalid: no grammar found.
via Coderanch by Jeff Horan, 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.DTDConfiguration.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.dom4j.io.SAXReader.read(SAXReader.java:339)	at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:54)	at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114)	at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66)	at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager.java:63)	at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48)	at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)	at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:47)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)	at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source)	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.java:69)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.caucho.server.http.Invocation.service(Invocation.java:315)	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)	at java.lang.Thread.run(Thread.java:534)