Couldn’t find right jar file for “com.adobe.granite.ui.tags.IncludeClientLibraryTag” class | Community
Skip to main content
October 16, 2015
Solved

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

  • October 16, 2015
  • 2 replies
  • 1269 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Scott_Brodersen

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

2 replies

vikramca06
Level 4
October 16, 2015
Scott_Brodersen
Scott_BrodersenAccepted solution
Level 8
October 16, 2015

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