关于切入点表达式:
@Before("execution(修饰符 返回值 完整包名.方法名(参数1 ,参数2))")
一定要有"包名.方法名",不然会报"Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name:"
@Before("execution(* *.*(..))")
关于切入点表达式:
@Before("execution(修饰符 返回值 完整包名.方法名(参数1 ,参数2))")
一定要有"包名.方法名",不然会报"Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name:"
@Before("execution(* *.*(..))")