[英]Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.2.3.xsd'
[英]org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd'
尝试执行 spring 批处理时出现以下错误
2021-10-07T13:10:19,229 [main] WARN XmlBeanDefinitionReader: Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) ~[?:1.8.0_265]
我再次尝试运行它,它被执行了但是我想确保上述错误不会重复。
这是什么原因造成的? 我该如何永久解决这个问题。
网络问题,因为错误将 502 作为根本原因,这是一个错误的网关。 XSD 文件被添加到 spring 的 jars 中,所以它不应该需要去互联网上找到它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.