1. windows->preference->myeclipse->files and editors -> xml -> xmlcatalog
2. 點擊“add”,在新出現窗口中的key type中選擇uri,在location中選擇“File System”
3. 在本地目錄中選擇相應的xsd(比如spring-benas-2.0.xsd)
4. 返回設置窗口把設置窗口中的key type改為schemaLocation,
key設置為相應的xsd
如http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
2. 點擊“add”,在新出現窗口中的key type中選擇uri,在location中選擇“File System”
3. 在本地目錄中選擇相應的xsd(比如spring-benas-2.0.xsd)
4. 返回設置窗口把設置窗口中的key type改為schemaLocation,
key設置為相應的xsd
如http://www.springframework.org/schema/beans/spring-beans-2.0.xsd