Hi,
I am AEM 5.6.1 version
I have used the below code and see that it fails while building in my ecllispe.Could you please let me know who this could be solved
<%@include file="/libs/foundation/global.jsp"%>
<%
try {
com.day.cq.workflow.WorkflowService workflowService = sling.getService(com.day.cq.workflow.WorkflowService.class);
} catch (Exception e) {
log.error(e.getMessage(), e);
%>
An error occurred at line: 1 in the generated java file
[ERROR] The type com.day.cq.workflow.WorkflowService cannot be resolved. It is indirectly referenced from required .class files
[ERROR] com.day.cq.workflow.WorkflowService cannot be resolved to a type