在配置扫描时不合理引入约束有可能出现此bug。
Bug:
需检查命名空间是否正确。为
xmlns:context="http://www.springframework.org/schema/context"
检查在xsi:schemaLocation中是否加入了
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.3.xsd