@Aspect
@Component
@Order(Ordered.HIGHEST_PRECEDENCE)
public class TestTwoAop {
@Around("@annotation(aopAnnoTwo)")
public Object aroundAdvice(ProceedingJoinPoint proceedingJoinPoint,
AopAnnoTwo aopAnnoTwo) throws Throwable {
return proceedingJoinPoint.proceed();
}
}
Error "java.lang.IllegalStateException: Required to bind 2 arguments, but only bound 1
the userAttributes of Class ReflectiveMethodInvocation null value ,cause JoinPointMatch is null
then I set order sort another value.Do not have any RuntimeException
.
Comment From: sbrannen
I've edited your comment to improve the formatting. You might want to check out this Mastering Markdown guide for future reference.
Comment From: wisty
Bean load Sequence lead to the ExposeInvocationInterceptor is upfront in the interceptor chain
Comment From: rstoyanchev
Superseded by #26752.