org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException

Line 1 in XML document from META-INF/spring/Spring-Dojo.js is invalid; nested exception is org.xml.sax.SAXParseException: Content is not allowed in prolog.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web587

  • Line 1 in XML document from META-INF/spring/Spring-Dojo.js is invalid; nested exception is org.xml.sax.SAXParseException: Content is not allowed in prolog.
  • Line 1 in XML document from META-INF/spring/Spring-Dojo.js is invalid; nested exception is org.xml.sax.SAXParseException: Content is not allowed in prolog.
  • Line 1 in XML document from ServletContext resource [/WEB-INF/ECorp-Spring-Context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Content is not allowed in prolog.
  • Stack trace

    • org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from META-INF/spring/Spring-Dojo.js is invalid; nested exception is org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) at org.springframework.context.support.GenericXmlApplicationContext.load(GenericXmlApplicationContext.java:84) at org.springframework.slices.personality.internal.SpringApplicationSlicePersonality.start(SpringApplicationSlicePersonality.java:53)

    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

    38 times, 9 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    12 more bugmates