繁体   English   中英

无法读取架构文档“http://www.springframework.org/schema/beans/spring-beans-3.2.3.xsd”

[英]Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.2.3.xsd'

每次构建失败并显示错误

  1. 找不到文件;
  2. 无法读取文件;
  3. 文档的根元素不是<xsd:schema>

我该如何解决?

<?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/spring-beans-3.2.3.xsd
">

如果每次构建都使用 STS,则必须在线。 最好的解决方案是使用基于 java 的配置。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM