在MyEclipse中:
windows--->preferences--->--->myeclipse--->files and editors--->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
然后点击ok