Spring AOP - Point Cut not getting called
问题 I have a SpringBoot Application. I have defined an Annotation say "Track", and I have annotated few methods in different packages which I want aop to consider. The annotation has been defined as below : @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Track { } I have not missed the @EnableAspectJAutoProxy in the @Configuration class of my package. I have a Pointcut and an Advice defined in the Aspect like below : @Aspect @Component public class MyAspect {