java - spring 3.0 aop Pointcut is not well-formed: expecting 'name pattern' error - Stack Overflow
You are missing the return type:
@Pointcut("execution(* backend.repository.QuestionsRepository.AnswerQuestion (..))") and you have to bind the argument names, something like this:
@Pointcut("execution(* backend.repository.QuestionsRepository.AnswerQuestion (..)) && args(question, answer)") // wrapped for readability onlyRead full article from java - spring 3.0 aop Pointcut is not well-formed: expecting 'name pattern' error - Stack Overflow
No comments:
Post a Comment