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

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

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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