少了个xmlns:aop="http://www.springframework.org/schema/aop"
如图在namespaces中勾选aop选项
配置文件我都是手写的,格式和不确定的内容查官方文档,spring有个基于eclipse的IDE,好像叫Spring Tool Suite