Dependency issues when PDF Services SDK is installed on AEM 6.5.21 | Community
Skip to main content
Level 3
October 16, 2024

Dependency issues when PDF Services SDK is installed on AEM 6.5.21

  • October 16, 2024
  • 1 reply
  • 654 views

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:

On installing 

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

This indirectly dependents on the below :

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

AEM 6.5.21 uses this version :

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

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

1 reply

SmrithiGoAuthor
Level 3
October 22, 2024

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