簡體   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