错误提示为:
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'aop:config'.
网上说法不一,后来我发现我错在了
xmlns:aop="http://www.springframework.org/schema/aop "
没发现错在哪里?
对了,是xmlns:aop="http://www.springframework.org/schema/aop "
aop 后面多了一个空格。好在我检查出来了。