两个 spring 的小问题,速解决,速结帖给分!
一,新建了一个WEB工程,然后把Spring 2.5 版本解压出来的 dist 目录下的所有文件 考到 项目的 WEB-INF/lib 下面,就发现 resources 目录下的 有些 *.xsd 文件出现错误,如 :spring-context-2.5.xsd ,spring-lang-2.0.xsd 等文件,
都是同一个错误 :src-resolve: Cannot resolve the name 'beans:identifiedType' to a(n) 'type definition' component.
文件中出错的部分是 “ <xsd:extension base="beans:identifiedType"> ” 这一句;
不知何故,请指点下!
二、想确认一下,spring 的配置 文件,如 config.xml 是一定要放在 跟 src 目录同级的目录下么?也就是项目的根目录,而不是 WEB-INF/ 下么?