You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application which has an aspect built using Spring AOP. In the aspect class XYZ, I have a method xyz on which the @Around advice is applied. The method xyz calls another method abc in a different class ABC, which has a @test annotation with an argument. I also have a Controller class which has methods on which there are Spring custom annotations with arguments applied. Since these controller methods are covered by the pointcut in the aspect class, it is throwing the following exception:
java.lang.IllegalStateException: Required to bind 2 arguments, but only bound 1 (JoinPointMatch was NOT bound in invocation).