Service unsatisfied | Community
Skip to main content
Adobe Employee
May 3, 2021
Solved

Service unsatisfied

  • May 3, 2021
  • 3 replies
  • 1765 views

The request failed:

{
"servlet":"org.apache.felix.http.base.internal.dispatch.DispatcherServlet-22bb003a",
"message":"Not Found",
"url":"/system/console/components/3376.json",
"status":"404"
}

 

I'm getting this error for the service I wrote. How to resolve this? Is it because of the code?

 

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 Shubham_borole

This looks like an issue with custom code with class AssetsReportServiceImpl. Can you add a code snippet for the service annotations that you have used?

 

//Eg @Component(service = CustomService.class) public class CustomServiceImpl implements CustomService

3 replies

Asutosh_Jena_
Community Advisor
Community Advisor
May 3, 2021

Hi @keerthana_h_n 

 

@Reference annotation should be used for a service reference. If any @Reference annotation is not able to pick the correct service, bundle will throw unsatisfied service error. Please check if the highlighted property is properly initialized as a service and is available in the Felix console as a service.

 

Thanks

Shubham_borole
Community Advisor
Shubham_boroleCommunity AdvisorAccepted solution
Community Advisor
May 3, 2021

This looks like an issue with custom code with class AssetsReportServiceImpl. Can you add a code snippet for the service annotations that you have used?

 

//Eg @Component(service = CustomService.class) public class CustomServiceImpl implements CustomService
Adobe Employee
May 3, 2021
@8220494(service= AssetReportExportService.class) public class AssetReportExportServiceImpl implements AssetReportExportService {
Anudeep_Garnepudi
Community Advisor
Community Advisor
May 3, 2021

@keerthana_h_n 

Seems you are using @Reference annotation on implementation class(com.rrd.dam.core.services.impl.AssetReportExportServiveImpl). Try using interface.

Adobe Employee
May 3, 2021
It worked thank you