Expand my Community achievements bar.

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