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

Service unsatisfied

Avatar

Level 5

The request failed:

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

 

keerthana_hn_0-1620048531190.png

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

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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 

View solution in original post

6 Replies

Avatar

Community Advisor

Hi @keerthana_hn 

 

@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

Avatar

Correct answer by
Community Advisor

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 

Avatar

Level 5
@component(service= AssetReportExportService.class) public class AssetReportExportServiceImpl implements AssetReportExportService {

Avatar

Community Advisor

@keerthana_hn 

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