Perhaps we need to look at the exact text of your failing program. The error you mention suggests you are referring to a parameter in your advice that is not bound in the pointcut, like this:
public Object performCallWhenException(ProceedingJoinPoint joinPoint,Object o) throws Throwable { that produces the error you are seeing. But in the code above you aren't using anything other than ProceedingJoinPoint. If you have a complete mini project that shows the problem, I'm sure we can get it sorted. cheers Andy > The problem is that GContracts is a global AST transformation which is not > taken into account by the Eclipse Groovy compiler, therefore the editor > shows the annotation closure as error but the compilation itself will run > through. On 21 March 2011 09:57, jelramzy <jelra...@gmail.com> wrote: > the problem is that i get the following error when i try to test the > pointcut: > > Caused by: java.lang.IllegalArgumentException: error at ::0 formal unbound > in pointcut > > even when i put the full path to the annotation > > -- > View this message in context: > http://aspectj.2085585.n4.nabble.com/Problems-to-set-up-an-annotation-based-pointcut-with-Spring3-and-Aspectj-1-6-tp3393103p3394133.html > Sent from the AspectJ - users mailing list archive at Nabble.com. > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users