I am trying to create custom submit action and calling my service from from post.POST.jsp similar to below but calling my service inplace of mail.
way i am calling.
core.service.HandleContactForm hf = sling.getService(core.service.HandleContactForm.class);
bundle is active but its not resolving service.
Error is : core.service.HandleContactForm cannot be resolved to a type
Hi @amitcsknit ,
Can you please confirm if all other bundles are in "active" state. Specifically, check for AEMFD Signature bundle & AEM RM Indexer Bundle.
Similar issue, I also faced at my end and it automatically resolved after making these two bundles in the "active" state by adding below properties in sling.properties
bundle was active but still This was not happening because custom package was not in export list inside manifest. For testing i moved my classes to model or any preexisting package & they are getting resolved. Now question came why it is not in export inside manifest.
Hi @amitcsknit , Could you please check on following things-
Hope this will help you out.
Try restarting the server