Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

@Reference annotation for injecting AccountManagementService setting servlet state to "Unsatisfied" in AEM 6.2

Avatar

Level 4

I need to use  AccountManagementService(com.adobe.cq.account.api.AccountManagementService since Interface AccountManager is deprecated in AEM 6.2.

But when I am inject the AccountManagementService in amy servlet and registering it servlet state goes to "Unsatisfied". If anybody has idea on this please reply. I have attached the screenshot of component tab for details.

1 Accepted Solution

Avatar

Correct answer by
Employee

I checked this, and you are right.

This is because there is a unsatisfied reference (com.day.cq.mailer.MailService) in com.adobe.cq.account.api.AccountManagementService 

Let me see if these is a workarond for this.

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

I checked this, and you are right.

This is because there is a unsatisfied reference (com.day.cq.mailer.MailService) in com.adobe.cq.account.api.AccountManagementService 

Let me see if these is a workarond for this.

Avatar

Level 4

Thanks Feike.

After configuring com.day.cq.mailer.MailService  (which is not configured by default in felix console) , the issue is resolved and servlet is in active state. 🙂