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
BedrockMission!

Learn More

View all

Sign in to view all badges

Sling Model not showing in Sling Adapter Interface Felix

Avatar

Avatar
Validate 1
Level 2
sudhag73425455
Level 2

Likes

6 likes

Total Posts

29 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 2
sudhag73425455
Level 2

Likes

6 likes

Total Posts

29 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
sudhag73425455
Level 2

19-02-2019

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?