1. 程式人生 > >spring載入本地xsd

spring載入本地xsd

windows>preferences>myeclipse>files and edtitors>xml>xmlcatalog 

點add,在出現的視窗中的Key Type中選擇URI,在location中選File syetem,然後在spring解壓目錄中的dist/resources目錄中選擇spring-beans-2.5.xsd,回到設定視窗時不要著急關閉視窗,應把視窗中的Key Type改為Schema location,Key改為http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

我的是配置ehcache,路徑如下: