通配符的匹配很全面, 但无法找到元素 ‘aop:config’ 的声明问题的解决
问题描述
在我根据教程视频一步步将所有文件配置完成之后,就显示出来这个错误!
问题解决
将下面两个语句放置到applicationContext.xml配置文件的约束里面即可解决问题:
xmlns:aop="http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
具体放置如下图所示:


浙公网安备 33010602011771号