Expand my Community achievements bar.

Dependency issues when PDF Services SDK is installed on AEM 6.5.21

Avatar

Level 2

Hi,

I am trying to install PDF Serivce SDK on AEM 6.5.21, for using Accessibility AutoTag API from PDF Services SDK (PDF Services API | Adobe PDF Services), and I can see a lot of dependency errors are below:

 

1. On installing PDF Services SDK 4.1.1 and 4.0.0, org.slj4j dependency is not being resolved as PDF service requires 2.0.9 above version and org.slj4j version available within AEM 6.5.21 is 

<dependency>

        <artifactId>slf4j-api</artifactId>

         <version>1.7.32</version>

         <groupId>org.slf4j</groupId>

         <scope>provided</scope>

</dependency> 

As there are many other bundles dependent on this version of org.slj4j, I am unable to change the version.

2. On trying to install a lower version of pdf Services SDK - 3.5.1, I get the below error:

SmrithiGo_0-1729086615409.png

On installing 

<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>9.35</version>
</dependency>

This indirectly dependents on the below :

SmrithiGo_1-1729086759826.png

AEM 6.5.21 uses a different version of com.google.gson and lesser than 2.10

AEM 6.5.21 uses this version :

SmrithiGo_2-1729086847540.png

Kindly help me understand which version of PDF Services sdk is compatible with AEM 6.5.21. Thank you. Appreciate any help on this.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 2

Has anyone faced this problem before. Please let me know if you have resolved it. Thank you.