Advice AspectJ a method call from different Maven project
问题 I am trying to create an advice of a method of a project (test5) being called from another project (testMaven). I already included the project test5 as dependency in testMaven's pom.xml and set up an advice in testMaven's class but still it doesn't get executed. The calling of the method (dfg) is working just fine. Here are the code for it: MainApp.java (testMaven) package testMaven; import test5.yxc; public class MainApp { public static void main(String[] args) { yxc b = new yxc(); b.dfg(2);