Expand my Community achievements bar.

OSGI Service doesn't Bind with Jar after upgrading to 6.4 from 6.2

Avatar

Level 1

Hi All,

I have a project, which is built for 6.2. And now I have upgraded it to 6.4 so the code is deployed in 6.4 AEM Server. After the code is installed, The OSGI custom services are not binding with the respective jars. If I open the respective Custom Service, I could see that the annotations are seems to be deprecated. So Can somebody help me to rewrite the  component and Properties annotations. Code snippet is shown in the attached images.

Thanks,

Abhinav.

1552288_pastedImage_0.png

1552457_pastedImage_1.png

1 Reply

Avatar

Community Advisor

Please refer to the following blogs 

 

They cover examples on how to use the updated Component and Property annotations


Aanchal Sikka