解決方案如下:
1. 首先為了確定 Eclipse 可以從遠端拿到 xsd 檔案,到
Window -> Preferences -> General -> Network Connections -> Cache
下的 Cache entries 框内檢查所需要的檔案是否正确,如果不确定,就點選 “Remove All”,然後右擊目前的 Project 右擊,選擇 Validator,Eclipse 會重新加載 xsd 檔案;
2. 如果錯誤依舊,那就需要删掉 xsd 檔案的版本号,例如:
http://www.springframework.org/schema/context/spring-context-3.0.xsd
改成: http://www.springframework.org/schema/context/spring-context.xsd