example: https://github.com/SchroedingersGitHub/Example-ApplicationEventPublisherAware/tree/main

Comment From: sbrannen

Your EventPublisherKt resides in the event.annotation package, not in the org.example package which you've configured via @ComponentScan("org.example").

Make sure your directory structure matches your package names.

In light of that, I'm closing this issue.

Comment From: maxbiu

@sbrannen :joy: thanks!!!