Hi,
When i want to call my created service in one of my component, the below error i am getting.
An error occurred at line: 20 in the jsp file: /apps/accordian/content/components/servicecalling/servicecalling.jsp
com.app.services.ValuePassServiceImpl cannot be resolved to a type
17:
18:
19: <%
20: com.app.services.ValuePassService vps=sling.getService(com.app.services.ValuePassServiceImpl.class);
21:
22: %>
My component jsp as follows..
<%@include file="/libs/foundation/global.jsp"%>
<%@page session="false" %>
<%@ page import="org.apache.sling.commons.json.io.*,org.w3c.dom.*,com.app.services.*"%>
Service calling Comp
<%
com.app.services.ValuePassService vps=sling.getService(com.app.services.ValuePassServiceImpl.class);
%>
Can anybody help me to find the reason.
My service is not able to active state. It is in registered state, is this the cause?
If yes how to make it active?
Thanks,
Sony C