org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 4 in XML document from class path resource [spring-batch-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 113; <Line 4, Column 113>: XML-24500: (Error) Can not build schema 'http://www.springframework.org/schema/batch' located at 'http://www.springframework.org/schema/batch/spring-batch-3.0.xsd'

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

Solutions on the web

via Stack Overflow by Mark
, 1 year ago
Line 4 in XML document from class path resource [spring-batch-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 113; <Line 4, Column 113>: XML-24500: (Error) Can not build schema 'http://www.springframework.org/schema/batch' located at 'http://www.springframework.org/schema/batch/spring-batch-3.0.xsd'
via coderanch.com by Unknown author, 1 year ago
Line 10 in XML document from class path resource [META-INF/spring/app-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'http'. One of '{"http
via Coderanch by Zoltaan Szabo, 11 months ago
Line 10 in XML document from class path resource [META-INF/spring/app-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'http'. One of '{"http
via Stack Overflow by Unknown author, 2 years ago
Line 7 in XML document from class path resource [spring.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 30; cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:annotation-config'.
via Google Groups by golfingal72, 3 months ago
Line 37 in XML document from URL [file:/nfsmount s/devexp/xwcdev/users/lcox/mule-2.0.2/lib/user/mule-jms-conf.xml] is invalid; nested exception is org.xml.sax.SAXParseE xception: cvc-complex-type.2.4.a: Invalid content was found starting with
via github.com by Unknown author, 2 years ago
Line 35 in XML document from class path resource [activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 35; columnNumber: 160; cvc-complex-type.3.2.2: Attribute 'destroyApplicationContextOnStop' is not allowed to appear in element 'broker'.
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 4 in XML document from class path resource [spring-batch-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 113; <Line 4, Column 113>: XML-24500: (Error) Can not build schema 'http://www.springframework.org/schema/batch' located at 'http://www.springframework.org/schema/batch/spring-batch-3.0.xsd'
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)

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

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