Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

ServiceNotFoundException when installing a custom component

Avatar

Level 2

I created a custom component and deployed successfully using Workbench. However, when I start the service, there is ServiceNotFoundException thrown when calling getHeadActiveConfiguration(service-id) in the onStart() method of LifeCycle class. I have checked that the service-id being passed to the getHeadActiveConfiguaration method matched with the service name in component.xml. Also the component.xml are packed in the root of jar file. Does anyone know how to solve this exception?

Thanks.

0 Replies