org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 37 in XML document from class path resource [SpringCanfig.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 13; cvc-complex-type.2.4.a : Contenu non valide trouvé à partir de l'élément 'List'. L'une des valeurs '{"http://www.springframework.org/schema/beans":description, "http://www.springframework.org/schema/beans":meta, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/beans":ref, "http://www.springframework.org/schema/beans":idref, "http://www.springframework.org/schema/beans":value, "http://www.springframework.org/schema/beans":null, "http://www.springframework.org/schema/beans":array, "http://www.springframework.org/schema/beans":list, "http://www.springframework.org/schema/beans":set, "http://www.springframework.org/schema/beans":map, "http://www.springframework.org/schema/beans":props, WC[##other:"http://www.springframework.org/schema/beans"]}' est attendue.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by MarwenBta
, 1 year ago
Line 37 in XML document from class path resource [SpringCanfig.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 13; cvc-complex-type.2.4.a : Contenu non valide trouvé à partir de l'élément 'List
via Stack Overflow by user1
, 2 months ago
Line 614 in XML document from class path resource [ftpOutbound.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/integration/ftp/spring-integration-ftp.xsd; lineNumber: 614
via Stack Overflow by samira
, 1 year ago
Line 10 in XML document from class path resource [context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 44; cvc-complex-type.2.4.a: Invalid content was found starting with element 'property'. One
via Stack Overflow by user1624552
, 1 year ago
Line 47 in XML document from class path resource [contexto.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 47; columnNumber: 39; cvc-complex-type.2.4.a: Se ha encontrado contenido no válido a partir del elemento
via Stack Overflow by user1834781
, 1 year ago
Line 12 in XML document from class path resource [applicationContext-mytutorial.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'bean'. One of '{"http
via Google Groups by Unknown author, 1 year ago
Line 54 in XML document from class path resource [services.xml] is invalid; nested exception is org.xm l.sax.SAXParseException; lineNumber: 54; columnNumber: 44; cvc-complex-type.2.4.a: Invalid content was found starting with element 'hz:queue
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 37 in XML document from class path resource [SpringCanfig.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 13; cvc-complex-type.2.4.a : Contenu non valide trouvé à partir de l'élément 'List'. L'une des valeurs '{"http://www.springframework.org/schema/beans":description, "http://www.springframework.org/schema/beans":meta, "http://www.springframework.org/schema/beans":bean, "http://www.springframework.org/schema/beans":ref, "http://www.springframework.org/schema/beans":idref, "http://www.springframework.org/schema/beans":value, "http://www.springframework.org/schema/beans":null, "http://www.springframework.org/schema/beans":array, "http://www.springframework.org/schema/beans":list, "http://www.springframework.org/schema/beans":set, "http://www.springframework.org/schema/beans":map, "http://www.springframework.org/schema/beans":props, WC[##other:"http://www.springframework.org/schema/beans"]}' est attendue.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:612)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:513)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at springcore.TestSpringProject.main(TestSpringProject.java:10)

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
38 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.