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

SOLVED

Couldn’t find right jar file for “com.adobe.granite.ui.tags.IncludeClientLibraryTag” class

raamkumar
Level 1
Level 1

Hello all,

I’m searching for the correct jar file for “com.adobe.granite.ui.tags.IncludeClientLibraryTag” class. But I could find the one for “com.day.cq.wcm.tags.IncludeClientLibraryTag” in cq-wcm-taglib-5.6.4.jar which is deprecated.

When I do JSP compilation for any page containing <cq:includeClientLib /> throws the following exception.

ERROR: Unable to load tag handler class "com.adobe.granite.ui.tags.IncludeClientLibraryTag" for tag "cq:includeClientLib" -> [Help 1]

Please help me.

Regards,

RR

1 Accepted Solution
Scott_Brodersen
Correct answer by
Level 8
Level 8

vikramca06 is right.

To find the required dependency, in the web console click Main > Packages (http://localhost:4502/system/console/depfinder), then search for your class. In your case it returns

<dependency>
   <groupId>com.adobe.granite</groupId>
   <artifactId>com.adobe.granite.ui.commons</artifactId>
   <version>5.5.76</version>
   <scope>provided</scope>
</dependency>

hth,
scott

View solution in original post

2 Replies
Scott_Brodersen
Correct answer by
Level 8
Level 8

vikramca06 is right.

To find the required dependency, in the web console click Main > Packages (http://localhost:4502/system/console/depfinder), then search for your class. In your case it returns

<dependency>
   <groupId>com.adobe.granite</groupId>
   <artifactId>com.adobe.granite.ui.commons</artifactId>
   <version>5.5.76</version>
   <scope>provided</scope>
</dependency>

hth,
scott

View solution in original post