Today, in the case of a network disconnection, the spring Applicationcontext.xml file begins with a red fork
<span style= "FONT-SIZE:18PX;" ><?xml version= "1.0" encoding= "UTF-8"? ><beans xmlns= "Http://www.springframework.org/schema/beans" Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation= "Http://www.springframework.org/schema /beans http://www.springframework.org/schema/beans/<span style= "color: #ff0000;" >spring-beans.xsd</span> "></span>
The root cause of the problem is that the. xsd file cannot be found
Locate the Spring-beans-4.0.5.release jar file and unzip it into the spring-beans-4.0.5.release\org\springframework\beans\factory\xml directory under
Look, there's no such. xsd file
Revision changed to
<span style= "FONT-SIZE:18PX;" ><?xml version= "1.0" encoding= "UTF-8"? ><beans xmlns= "Http://www.springframework.org/schema/beans" Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation= "Http://www.springframework.org/schema /beans http://www.springframework.org/schema/beans/<span style= "color: #ff0000;" >spring-beans4.0.xsd</span> "></span>
The Red Fork is gone, the problem is solved
There is a problem with the XML configuration file for spring