Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEM Community Member of the Year!

Sling Model not showing in Sling Adapter Interface Felix

Avatar

Level 3

We are using aem 6.3

I have a bunch of Sling models under com.client.core and  com.client.brand.core packages

My Pom.xml is having this configuration

<Sling-Model-Packages>com.client.brand.core,com.client.core,com.client.config.model</Sling-Model-Packages>

problem: I am unable to see the sling models of com.client.core and com.client.config.model when <<localhost:4502>>/system/console/adapters; but sling models of om.client.brand.core are showing

Work around: When I change the order of packages listed under Sling-Model-Packages, it works!

New order: 

<Sling-Model-Packages>com.client.core,com.client.config.model,com.client.brand.core</Sling-Model-Packages>

I see sling models from all 3 packages.

Why is this behavior getting exhibited?

0 Replies