问题描述:
在spring+mongodb项目中的applicationContext.xml中有报警,在Problems视图中查到的详情是:A schema cannot contains two global components with the same name;this schema contains two occurences of 'http://www.springframework.org/schema/context,propertyPlaceholder ' 等。
我在applicationContext.xml中引入的schema为
解决:
在网上找了StackOverFlow上的一篇文章是把 context这个命名空间所指的xsd文件去掉版本号。