Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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