切入点路径不要带入aop,aop会跟据切入路径去调用动态代理导致无限循环 建议直接使用controller接口就行 @Pointcut("execution(* com.hdzx.controller.*(..))")