AspectJ - parse definitions failed - NullPointerException
问题 Here's MVCE https://github.com/yami12376/AspectJ Add VM arguments to Run/Debug configuration of Junit test , in my case: -javaagent:C:\aspectjWeaver\spring-instrument-3.0.4.jar -javaagent:C:\aspectjWeaver\aspectjweaver-1.6.11.jar In my case i added this in JAVA build path : \target\classes\META-INF from src/main/resources Run Junit test If you delete aop.xml it's still weaving type org.* but on the other hand aop.xml should not weave it beacuse it has: <include within="com.*"/> Why does it