Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

multifieldpanel slightly exception

Avatar

Level 5

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 · G...

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

6 Replies

Avatar

Level 10

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

No use provider could resolve identifier:

Avatar

Level 5

Yes..my bundle is in active state..

Exported Packagescom.adobe.acs.commons.widgets,version=1.0.0

Avatar

Level 4

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

Avatar

Level 10

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?

Avatar

Correct answer by
Community Advisor

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