通配符的匹配很全面, 但无法找到元素 'context:property-placeholder'

  解决方案就是如下: 
xmlns:context="http://www.springframework.org/schema/context" 
同时在xsi:schemaLocation这个字符串中添加context相关的解析文件 
http://www.springframework.org/schema/context 
              http://www.springframework.org/schema/context/spring-context-4.2.xsd。

猜你喜欢

转载自www.cnblogs.com/icebutterfly/p/9300134.html