AEM Forms 6.5.11 osgi - com.adobe.pdfg.service.api,version=[3.1,4) -- Cannot be resolved | Community
Skip to main content
New Member
January 14, 2022
Solved

AEM Forms 6.5.11 osgi - com.adobe.pdfg.service.api,version=[3.1,4) -- Cannot be resolved

  • January 14, 2022
  • 2 replies
  • 835 views

Hello Experts, 

I am trying to use the GeneratePDFService to generate PDF from png on AEM Forms 6.5.11 OSGi. 

I am using the following Maven dependency on my project. 

 

<dependency>

   <groupId>com.adobe.aemfd.pdfg</groupId>

   <artifactId>adobe-aemfd-pdfg-api</artifactId>

   <version>4.0.30</version>

   <scope>provided</scope>

</dependency>

 

<dependency>

   <groupId>com.adobe.aemfd.pdfg</groupId

   <artifactId>adobe-aemfd-pdfg-common</artifactId>

   <version>4.0.30</version>

   <scope>provided</scope>

</dependency>

 

The code compiles fine, but when I deploy the package on my local instance, the bundles shows that it is unable to resolve the package:

    com.adobe.pdfg.result,version=[3.1,4) -- Cannot be resolved
    com.adobe.pdfg.service.api,version=[3.1,4) -- Cannot be resolved

 

I checked depfinder and it shows the Maven dependency as below (please also see the screenshot). 

 

 

How do I go about resolving this issue?

 

Thanks, 

 

Jordi V.

 

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 Pulkit_Jain_

@jvinas 

If the code compiles fine, can you try deleting the version in the MANIFEST.MF file and then redeploy the bundle.

2 replies

Pulkit_Jain_
Adobe Employee
Pulkit_Jain_Adobe EmployeeAccepted solution
Adobe Employee
January 14, 2022

@jvinas 

If the code compiles fine, can you try deleting the version in the MANIFEST.MF file and then redeploy the bundle.

December 2, 2022

I had the same issue recently. I updated my dependency of the aemfd-client-sdk to the latest version. I still had 6.3 which resulted in the manifest generating version numbers that didn't match the ones on the deployed bundle AEMDS PDFG API bundle.

<dependency>
   <groupId>com.adobe.aemfd</groupId>
   <artifactId>aemfd-client-sdk</artifactId>
   <version>6.0.856</version>
</dependency>