如何在部署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

posted @ 2012-12-18 12:58  ctou45  阅读(890)  评论(0编辑  收藏  举报