Hello Everyone,
We are upgrading our code from AEM6.1 to AEM6.3. In one of our Workflow process steps we get the above error.
Code snippet:
final ServiceReference scrServiceRef = context.getBundleContext()
.getServiceReference(ScrService.class.getName());
final ScrService scrService = (ScrService) context.getBundleContext()
.getService(scrServiceRef);
final org.apache.felix.scr.Component[] components = scrService
.getComponents(WorkflowEmailNotificaton.EMAILNOTIFICATION_SERVICE_NAME);
Thanks,
Megha
Views
Replies
Total Likes
Did you rebuild the code using AEM 6.3 UBER JAR?
Views
Replies
Total Likes
Details here on how to setup UBER 6.3 JAR- Scott's Digital Community: Creating an Adobe Experience Manager 6.3 Project using Adobe Maven Archet...
Views
Replies
Total Likes
Sorry for delayed response. We built it using uber jar 6.3 but ScrService was deprecated and getting the above error.
We resolved it using
org.osgi.service.component.runtime.ServiceComponentRuntime;
org.osgi.service.component.runtime.dto.ComponentDescriptionDTO;
Thanks,
Megha
Views
Replies
Total Likes