org.xml.sax.SAXParseException: An element with the identifier "Foo" must appear in the document.

Spring JIRA | Andreas Senft | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Factoring ApplicationContext.xml

    springframework | 1 decade ago | ultan
    org.xml.sax.SAXParseException: An element with the identifier "transactionManager" must appear in the document.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    newbie question running PMD 2.3

    pmd | 1 decade ago | argie
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  4. 0

    Which is right,schema or jsr 168?

    portlet-opensrc | 1 decade ago | kongxx
    org.xml.sax.SAXParseException: SchemaLocation: schemaLocation value = 'http://java.sun.com/xml/ns/portlet/portlet-app\_1\_0.xsd' must have even number of URIs.

  1. Dunmer 1 times, last 4 weeks ago
  2. SteVio1989 1 times, last 1 month ago
33 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xml.sax.SAXParseException

    An element with the identifier "Foo" must appear in the document.

    at org.apache.xerces.parsers.DOMParser.parse()
  2. Xerces2-j
    DocumentBuilderImpl.parse
    1. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    2. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    2 frames
  3. Java RT
    DocumentBuilder.parse
    1. javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
    1 frame
  4. Spring Beans
    XmlBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:127)
    1 frame
  5. test
    SpringTest.main
    1. test.SpringTest.main(SpringTest.java:29)
    1 frame