- 實現效果:
- 解決方法:
- windows–>preference—>myeclipse—>files and editors–>xml—>xmlcatalog
點擊add ,在出現的窗口中的 Key Type 中選擇URI,在location中選擇File system,然后再spring解壓目錄中的
dist/resources 目錄中選擇spring-beans-2.5.xsd,回到設置窗口的時候,不要着急關閉窗口,
應該把窗口中的
Key Type改為Schema location ,
Key 改為http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
原文路徑為:http://blog.csdn.net/fatehj/article/details/54912371