Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Sling Model not showing in Sling Adapter Interface Felix

sudhag73425455
Level 3
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