org.xml.sax.SAXParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Dec 3, 2003 12:49:07 PM org.springframework.web.context.ContextLoader initContext INFO: Loading root WebApplicationContext: using context class 'org.springframework.web.context.support.XmlWebApplication Context' Dec 3, 2003 12:49:07 PM org.springframework.web.context.support.XmlWebApplicationContext setServletContext INFO: Using config location [/WEB-INF/indexingSubsystemContext.xml,/WEB-INF/eventSubsystemContext.xml,/WEB-INF/applicati onContext.xml] Dec 3, 2003 12:49:07 PM org.springframework.beans.factory.xml.XmlBeanFactory loadBeanDefinitions INFO: Loading XmlBeanFactory from InputStream [java.io.ByteArrayInputStream@59fb21] Dec 3, 2003 12:49:08 PM org.springframework.beans.factory.xml.XmlBeanFactory loadBeanDefinitions INFO: Loading XmlBeanFactory from InputStream [java.io.ByteArrayInputStream@349471] Dec 3, 2003 12:49:08 PM org.springframework.beans.factory.xml.XmlBeanFactory loadBeanDefinitions INFO: Loading XmlBeanFactory from InputStream [java.io.ByteArrayInputStream@1947496] Dec 3, 2003 12:49:08 PM org.springframework.web.context.ContextLoader handleException SEVERE: Failed to initialize beans in application context: Line 311 in XML document is invalid; nested exception is: org.xml.sax.SAXParseException: An element with the identifier "indexer" must appear in the document. org.xml.sax.SAXParseException: An element with the identifier "indexer" must appear in the document. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.springframework.beans.factory.xml.XmlBeanFactory.loadBeanDefinitions(XmlBeanFactory.java:245) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext .java:183) at org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationCo ntext.java:48) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:206) at org.springframework.web.context.support.XmlWebApplicationContext.setServletContext(XmlWebApplicationContext.j ava:132) at org.springframework.web.context.ContextLoader.initContext(ContextLoader.java:55) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:29) at com.atlassian.xwork.ext.ConfluenceContextListener.contextInitialized(ConfluenceContextListener.java:34) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3270) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3599) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    via by Armond Avanes,
  • Dec 3, 2003 12:49:07 PM org.springframework.web.context.ContextLoader initContext INFO: Loading root WebApplicationContext: using context class 'org.springframework.web.context.support.XmlWebApplication Context' Dec 3, 2003 12:49:07 PM org.springframework.web.context.support.XmlWebApplicationContext setServletContext INFO: Using config location [/WEB-INF/indexingSubsystemContext.xml,/WEB-INF/eventSubsystemContext.xml,/WEB-INF/applicati onContext.xml] Dec 3, 2003 12:49:07 PM org.springframework.beans.factory.xml.XmlBeanFactory loadBeanDefinitions INFO: Loading XmlBeanFactory from InputStream [java.io.ByteArrayInputStream@59fb21] Dec 3, 2003 12:49:08 PM org.springframework.beans.factory.xml.XmlBeanFactory loadBeanDefinitions INFO: Loading XmlBeanFactory from InputStream [java.io.ByteArrayInputStream@349471] Dec 3, 2003 12:49:08 PM org.springframework.beans.factory.xml.XmlBeanFactory loadBeanDefinitions INFO: Loading XmlBeanFactory from InputStream [java.io.ByteArrayInputStream@1947496] Dec 3, 2003 12:49:08 PM org.springframework.web.context.ContextLoader handleException SEVERE: Failed to initialize beans in application context: Line 311 in XML document is invalid; nested exception is: org.xml.sax.SAXParseException: An element with the identifier "indexer" must appear in the document. org.xml.sax.SAXParseException: An element with the identifier "indexer" must appear in the document. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.springframework.beans.factory.xml.XmlBeanFactory.loadBeanDefinitions(XmlBeanFactory.java:245) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext .java:183) at org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationCo ntext.java:48) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:206) at org.springframework.web.context.support.XmlWebApplicationContext.setServletContext(XmlWebApplicationContext.j ava:132) at org.springframework.web.context.ContextLoader.initContext(ContextLoader.java:55) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:29) at com.atlassian.xwork.ext.ConfluenceContextListener.contextInitialized(ConfluenceContextListener.java:34) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3270) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3599) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    via by Armond Avanes,
  • Factoring ApplicationContext.xml
    via springframework by ultan
    ,
  • Xmlread parsing issues
    via Stack Overflow by matlab-oh-no
    ,
  • Producing valid XML with Java and UTF-8 encoding
    via Stack Overflow by fd.
    ,
  • Error parsing XML document
    via Stack Overflow by Priyanka
    ,
    • org.xml.sax.SAXParseException: An element with the identifier "indexer" must appear in the document. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.springframework.beans.factory.xml.XmlBeanFactory.loadBeanDefinitions(XmlBeanFactory.java:245) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:183) at org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationContext.java:48) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:206) at org.springframework.web.context.support.XmlWebApplicationContext.setServletContext(XmlWebApplicationContext.java:132) at org.springframework.web.context.ContextLoader.initContext(ContextLoader.java:55) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:29) at com.atlassian.xwork.ext.ConfluenceContextListener.contextInitialized(ConfluenceContextListener.java:34) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3270) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3599) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) 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:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    bernardpaulus
    7 times, last one,
    33 more bugmates