展开全部
参考jar包中得dtd文件: 然后结合META-INF文件夹下面的schema文件拼写:
/spring-context-5.1.0.RELEASE.jar!/org/springframework/context/config/spring-context.xsd -- 其中有部分,需要添加32313133353236313431303231363533e59b9ee7ad9431333366303130context就需要把schema中得信息添加上去:<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context" //##ADD##
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd ##ADD##
">