Spring AOP pointcut expression method with 0 or more argument of any type throws java.lang.NullPointerException
问题 I'm following a tutorial where I'm trying to use a Spring AOP pointcut expression method that accepts 0 or more arguments of any type but I'm getting a java.lang.NullPointerException. I am using Spring MVC and maven along with eclipse. Everything is working fine if I use: @Before("execution(* add*())") or @Before("execution(* add*(*))") or @Before("execution(* add*(boolean,..))") but the moment I use ".." alone @Before("execution(* add*(..))") to mean that I want that the pointcut expression