error at ::0 can't find referenced pointcut annotation
问题 I am trying to create an aspect to monitor the time execution of certain methods. When I tried to run the test I get this error: Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut annotation at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:301) at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:207) when the ApplicationContext is loading. I define the