org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 3702 in XML document from ServletContext resource [/WEB-INF/spring/enterpriseReportEngineApp-spring-config-si.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/integration/spring-integration.xsd; lineNumber: 3702; columnNumber: 20; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.


Solutions on the web

Solution icon of spring
via Spring JIRA by Prashant Katiyar, 1 year ago
-integration.xsd; lineNumber: 3702; columnNumber: 20; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.

Solution icon of spring
via Spring JIRA by Prashant Katiyar, 1 year ago
-integration.xsd; lineNumber: 3702; columnNumber: 20; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.

Solution icon of spring
via Spring JIRA by Frederic Boulet, 1 year ago
Line 2739 in XML document from class path resource [com//eplatform/batch/vo/vo-jobs-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs

Solution icon of spring
via Spring JIRA by Frederic Boulet, 1 year ago
Line 2739 in XML document from class path resource [com//eplatform/batch/vo/vo-jobs-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs

Solution icon of stackoverflow
via Stack Overflow by Pankaj.Java
, 1 year ago
Line 2 in XML document from ServletContext resource [/WEB-INF/camel-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: http://camel.apache.org/schema/spring/camel-spring.xsd; lineNumber: 2; columnNumber: 225

Solution icon of stackoverflow
Line 17 in XML document from class path resource [filetransfer.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 66; cvc-complex-type.2.4.a: Invalid content was found starting with element

Solution icon of web
Line 16 in XML document from class path resource [hibernateTransaction.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 16; columnNumber: 8; cvc-complex-type.2.4.a: Invalid content was found starting with element

Solution icon of web
via zkoss.org by Unknown author, 1 year ago
Line 89 in XML document from ServletContext resource [/WEB-INF/config/webflow-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cos-nonambig: "http://www.zkoss.org/2008/zkspring":form-login and "http://www.zkoss.org/2008

Solution icon of web
Line 26 in XML document from ServletContext resource [/WEB-INF/spring/spring-jpa.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 26; columnNumber: 69; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element ‘tx:annotation-driven’.

Solution icon of web
via JIRA by Juan Carlos Picado, 1 year ago
Line 10 in XML document from ServletContext resource [/WEB-INF/spring/encuestame-task.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'mode' is not allowed to appear in element 'annotation-driven'.

Stack trace

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 3702 in XML document from ServletContext resource [/WEB-INF/spring/enterpriseReportEngineApp-spring-config-si.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/integration/spring-integration.xsd; lineNumber: 3702; columnNumber: 20; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.
	at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
	at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
	at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:272)
	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:197)
	at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:182)

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago