Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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 Accepted Solution

Avatar

Correct answer by
Community Advisor

Please refer to the following blogs 

 

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


Aanchal Sikka

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Please refer to the following blogs 

 

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


Aanchal Sikka