解决方案就是如下: xmlns:context="http://www.springframework.org/schema/context" 同时在xsi:schemaLocation这个字符串中添加context相关的解析文件 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd。
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3