The way to launch an AspectJ program where the main method is contained in an aspect is to use an AspectJ/Java Application launch configuration.
You can also launch an AspectJ program with the main method in an aspect, by selecting a project instead of the compilation unit or .aj file. You will be prompted to select the aspect from those aspects and classes that define a main method.
Launching a program with the main method in a class
Launching a program with an aspectpath or an outjar
Load-time weaving
Debugging a program