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 hivmr.com by Unknown author, 2 years ago
Invalid XML: Error on line 1: White spaces are required between publicId and systemId.
via Oracle Community by 665640, 1 year ago
Invalid XML: Error on line 1: White spaces are required between publicId and systemId.
via Oracle Community by 648781, 1 year ago
Invalid XML: Error on line 1: The reference to entity "redirect" must end with the ';' delimiter.
via Atlassian JIRA by Steve Haffenden [Atlassian], 1 year ago
via codingpedia.org by Unknown author, 2 years ago
Invalid XML: Error on line 1: Content is not allowed in prolog.
via GitHub by wkodate
, 1 year ago
Invalid XML: Error on line 19: 要素タイプ"img"は、対応する終了タグ"</img>"で終了する必要があります。
org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)	at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(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.XMLScanner.reportFatalError(Unknown Source)	at org.apache.xerces.impl.XMLScanner.scanExternalID(Unknown Source)	at org.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(Unknown Source)	at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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.jdom.input.SAXBuilder.build(SAXBuilder.java:453)	at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)	at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:178)	at com.sun.syndication.io.SyndFeedInput.build(SyndFeedInput.java:122)	at com.bea.shaboo.impl.support.UserActivityBean.getActivityList(UserActivityBean.java:74)	at com.bea.shaboo.impl.support.UserActivityBean.getActivityStreamModel(UserActivityBean.java:177)	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.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400)	at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:71)	at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)	at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)	at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378)	at javax.faces.component.UIData.getValue(UIData.java:779)	at org.apache.myfaces.component.html.ext.HtmlDataTableHack.createDataModel(HtmlDataTableHack.java:350)	at org.apache.myfaces.component.html.ext.HtmlDataTableHack.getDataModel(HtmlDataTableHack.java:333)	at org.apache.myfaces.component.html.ext.HtmlDataTableHack.getRowCount(HtmlDataTableHack.java:75)	at org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeChildren(HtmlListRenderer.java:107)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319)	at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:343)	at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:251)	at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:55)	at org.apache.jsp.useractivityfeed_jsp._jspx_meth_t_005fdataList_005f0(useractivityfeed_jsp.java:442)	at org.apache.jsp.useractivityfeed_jsp._jspx_meth_h_005fform_005f0(useractivityfeed_jsp.java:247)	at org.apache.jsp.useractivityfeed_jsp._jspx_meth_f_005fview_005f0(useractivityfeed_jsp.java:178)	at org.apache.jsp.useractivityfeed_jsp._jspService(useractivityfeed_jsp.java:108)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)	at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)	at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:74)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.bea.shaboo.impl.servlet.RequestedUserFilter.doFilter(RequestedUserFilter.java:61)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.bea.shaboo.impl.servlet.AccountCreationFilter.doFilter(AccountCreationFilter.java:57)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.bea.shaboo.impl.servlet.KodoSessionFilter.doFilter(KodoSessionFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.bea.shaboo.impl.servlet.ShabooSecurityFilter.doFilter(ShabooSecurityFilter.java:74)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.bea.shaboo.impl.servlet.InitializationCheckFilter.doFilter(InitializationCheckFilter.java:42)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:887)	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:696)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2009)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)	at java.lang.Thread.run(Thread.java:595)