how to use EventHandler | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

You are mixing osgi and Felix annotation.

Please use only osgi annotaions

remove org.apache.felix.scr.annotations.Reference and use import org.osgi.service.component.annotations.Reference;

14 replies

smacdonald2008
Level 10
September 11, 2018

See the artilce i just posted. Go through it and make it work. I will update this too include a video so you can see it working.

熊先森Author
September 11, 2018

wow thank you very much

熊先森Author
September 11, 2018

thank you

it worked

smacdonald2008
Level 10
September 11, 2018

I also tested on AEM 6.4 --