java.lang.RuntimeException

java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.[[

Solutions on the web41973

  • java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.[[
  • via Oracle Community by 873255, 11 months ago
    org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
  • via Stack Overflow by Student22b
    , 1 year ago
    javax.persistence.PersistenceException: Invalid persistence.xml. Error parsing XML [line : -1, column : -1] : cvc-elt.1: Cannot find the declaration of element 'persistence'.
  • Stack trace

    • java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.[[ at oracle.xdo.servlet.XDOServlet.init(XDOServlet.java:103) at oracle.xdo.servlet.init.ReInitializeServiceImpl.reinit(ReInitializeServiceImpl.java:55) at oracle.xdo.servlet.init.ReInitializeServiceThread.run(ReInitializeServiceThread.java:32) at java.lang.Thread.run(Thread.java:798) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. at oracle.xdo.servlet.GlobalContext.initResources(GlobalContext.java:368) at oracle.xdo.servlet.GlobalContext.init(GlobalContext.java:213) at oracle.xdo.servlet.XDOServlet.init(XDOServlet.java:99) ... 3 more Caused by: java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. at oracle.xdo.servlet.security.SecurityHandler.getHandler(SecurityHandler.java:194) at oracle.xdo.servlet.GlobalContext.initSecurity(GlobalContext.java:836) at oracle.xdo.servlet.GlobalContext.initResources(GlobalContext.java:295) ... 5 more Caused by: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. at oracle.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124) at java.lang.Throwable.<init>(Throwable.java:67) at oracle.xdo.servlet.ReportException.<init>(ReportException.java:40) at oracle.xdo.servlet.CreateException.<init>(CreateException.java:23) at oracle.xdo.servlet.security.BaseSecurityHandler.configSecurity(BaseSecurityHandler.java:1787) at oracle.xdo.servlet.security.BaseSecurityHandler.<init>(BaseSecurityHandler.java:159) at oracle.xdo.servlet.security.SecurityHandler.createHandler(SecurityHandler.java:252) at oracle.xdo.servlet.security.SecurityHandler.getHandler(SecurityHandler.java:189) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.