multifieldpanel slightly exception | Community
Skip to main content
AEMLearner-1989
Level 4
Mar 16, 2018 10:24 AM UTC
Solved

multifieldpanel slightly exception

Hi Team ,

I am using multifieldpanel dialog

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"

    jcr:primaryType="cq:Dialog"

    title="dialog"

    xtype="dialog">

    <items

        jcr:primaryType="cq:Widget"

        xtype="tabpanel">

        <items jcr:primaryType="cq:WidgetCollection">

            <links

                jcr:primaryType="cq:Widget"

                fieldLabel="Find your rep"

                name="./parent"

                xtype="multifield">

                <fieldConfig

                    jcr:primaryType="cq:Widget"

                    xtype="multifieldpanel">

                    <items jcr:primaryType="cq:WidgetCollection">

                        <country

                            jcr:primaryType="cq:Widget"

                            fieldLabel="Country"

                            key="id"

                            options=""

                            type="select"

                            width="250"

                            xtype="selection"/>

                        <officeAddress

                            jcr:primaryType="cq:Widget"

                            fieldLabel="Office Address"

                            key="officeAddress"

                            xtype="richtext"/>

                    </items>

                </fieldConfig>

            </links>

        </items>

    </items>

</jcr:root>

I am getting the below error when i try to fetch the values in slightly.

acs-aem-commons/MultiFieldPanelWCMUse.java at master · Adobe-Consulting-Services/acs-aem-commons · GitHub

Caused by: io.sightly.java.api.SightlyUseException: No use provider could resolve identifier: com.adobe.acs.commons.widgets.MultiFieldPanelWCMUse

at io.sightly.java.engine.extension.use.UseExtension$1.call(UseExtension.java:87)

at io.sightly.java.runtime.common.SightlyRuntimeImpl.call(SightlyRuntimeImpl.java:51)

Version : AEM 6.0

Regards,

Sathya

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Mar 16, 2018 4:23 PM UTC

This error comes when the use-class cannot be instantiated. This can happen mainly because when the bundles are not available. I did a search for similar issues and found few helpful answers. Just see if any of the below solves your problem as there is no much information available in your question to solve your issues .

In a nutshell below forum answers suggest artifact id should be in all lowercase and package should be in all lowercase. I dont exactly know if this is the cause of your issue. But do give it a try

No use provider could resolve identifier

Getting error msg 'No use provider could resolve identifier' when using sling model in HTL

6 replies

VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Mar 16, 2018 4:23 PM UTC

This error comes when the use-class cannot be instantiated. This can happen mainly because when the bundles are not available. I did a search for similar issues and found few helpful answers. Just see if any of the below solves your problem as there is no much information available in your question to solve your issues .

In a nutshell below forum answers suggest artifact id should be in all lowercase and package should be in all lowercase. I dont exactly know if this is the cause of your issue. But do give it a try

No use provider could resolve identifier

Getting error msg 'No use provider could resolve identifier' when using sling model in HTL

Translate
smacdonald2008
Level 10
Mar 16, 2018 4:04 PM UTC

WHen you install ACS-Commons - which ACS-Commons component are you using? Can you show a screen shot of the component you are trying to use?

Translate
Rima_Mittal
Level 4
Mar 16, 2018 3:57 PM UTC

How are you fetching the values in sightly? Can you share the code snippet?

Translate
smacdonald2008
Level 10
Mar 16, 2018 3:32 PM UTC

Looking at the Notes in the Git Repo - it says its for AEM 6.2.

GitHub - Adobe-Consulting-Services/acs-aem-commons

Translate
AEMLearner-1989
Level 4
Mar 16, 2018 3:04 PM UTC

Yes..my bundle is in active state..

Exported Packagescom.adobe.acs.commons.widgets,version=1.0.0
Translate
smacdonald2008
Level 10
Mar 16, 2018 1:35 PM UTC

Is your bundle active - looks like it cannot find the USE API:

No use provider could resolve identifier:

Translate