2017-07-18 60 views
2

模式互聯網連接的過程正常工作,但它讓我看到下面的警告消息時,Internet連接關閉模式不工作的時候沒有互聯網連接的

文檔中引用沒有語法限制(DTD或XML Schema)。

我已經在彈簧調度-servlet.xml中使用下面的模式

<beans xmlns="http://www.springframework.org/schema/beans" 
 
\t xmlns:context="http://www.springframework.org/schema/context" 
 
\t xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc" 
 
\t xsi:schemaLocation="http://www.springframework.org/schema/beans  
 
     http://www.springframework.org/schema/beans/spring-beans-4.0.xsd 
 
     http://www.springframework.org/schema/context 
 
     http://www.springframework.org/schema/context/spring-context-4.0.xsd 
 
     http://www.springframework.org/schema/mvc 
 
     http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">

我應該怎麼做才能解決這個問題?

回答

2

首先,您使用的是公共URL的模式。很明顯,試圖從互聯網上下載。
如果使用相對路徑,下載的模式,它應該工作(但不推薦)

編輯:
通過一些帖子會後,我發現這example。希望它有助於

相關問題