在做SpringMVC项目时报:通配符的匹配很全面, 但无法找到元素 'context:component-scan' 的声明
解决方法:在文件头上加上下面这句就OK了xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/b...
原创
2018-07-06 10:25:23 ·
1326 阅读 ·
0 评论