Yesterday I got the exactly same error and it was driving me nuts. The problem is that my pointcut was erroneous and affected Spring classes. Try to use a very specific pointcut, including only one...
Type: Posts; User: Sinuhe; Keyword(s):
Yesterday I got the exactly same error and it was driving me nuts. The problem is that my pointcut was erroneous and affected Spring classes. Try to use a very specific pointcut, including only one...
Well, it worked with my only two tests:
public void show(String a, @SessionInject SqlSession session)
public void show(@SessionInject SqlSession session, String a)
Tomorrow I'll try...
Hi Andy,
I've found a pretty way for achieveing this:
@Around("execution(public * * (.., @SessionInject (*), ..))")
I was happy, but your comment makes me hesitate. I've made some tests...
I need to create an aspect with a pointcut matching a method if:
- Is public
- Its class is annotated with @Controller
- One of its parameters (can have many) is annotated with...