AEM 6.1 Sightly: org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension No use provider could resolve identifier | Community
Skip to main content
New Participant
April 13, 2016
Solved

AEM 6.1 Sightly: org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension No use provider could resolve identifier

  • April 13, 2016
  • 3 replies
  • 1566 views

Hi

 

I'm just trying to call a simple wcmUsePojo class implementation from an aem component, but while doing so I'm getting below given error:

org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension No use provider could resolve identifier "myClassName".

The code is very simple and does not contain any complex stuff yet, still its not working. the  bundle is active and the pojo class package is also available in exported packages.

The code snipped is as given below:

<div data-sly-use.navigationUtilTest="${'com.dummy.helper.navigationUtilTest'}" data-sly-unwrap>
        Dummy Text

</div>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Akanksha_Pratih

Got the solution, my class name started with lower case letter just changed it to upper case and it worked.

3 replies

smacdonald2008
New Participant
April 13, 2016

Thxs for posting your solution.

Akanksha_PratihAuthorAccepted solution
New Participant
April 13, 2016

Got the solution, my class name started with lower case letter just changed it to upper case and it worked.

smacdonald2008
New Participant
April 13, 2016

Looks like there is an issue wirh the Java. See this community article to get up and running:  https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html