Spring AOP not working when using as a compiled jar in a different project
问题 I have a working AOP (when using inside the project it is written in) but when I build this project (maven install), and use that JAR in another project, and try to use the @TimedLog annotation, nothing happens. I try to breakpoint into it, but it doesn't reach there. It looks like this: @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface TimedLog { boolean shouldAttachMethodArgs() default false; boolean shouldAttachReturnValue() default false; String message()