无法找到元素 'aop:aspectj-autoproxy' 的声明
这个是在使用springAOP时候可能会遇到的问题.
这个无非就是在说明我没有导入AOP命名空间,这时需要去查看对应的配置文件.
这里需要格外注意,springAOP不仅需要导入命名空间,还要在xsi:schemaLocation中加入aop的xsd文件
www.springframework.org/schema/aop
www.springframework.org/schema/aop/…
这个是在使用springAOP时候可能会遇到的问题.
这个无非就是在说明我没有导入AOP命名空间,这时需要去查看对应的配置文件.
这里需要格外注意,springAOP不仅需要导入命名空间,还要在xsi:schemaLocation中加入aop的xsd文件
www.springframework.org/schema/aop
www.springframework.org/schema/aop/…