Skip to main content
Level 2
Apr 13, 2016 10:18 AM UTC
Solved

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

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.
Akanksha_PratihAccepted solution
Level 2
Apr 13, 2016 11:35 AM UTC

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

3 replies

smacdonald2008
Level 10
Apr 13, 2016 11:32 AM UTC

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

Translate
Akanksha_PratihAuthorAccepted solution
Level 2
Apr 13, 2016 11:35 AM UTC

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

Translate
smacdonald2008
Level 10
Apr 13, 2016 11:47 AM UTC

Thxs for posting your solution.

Translate