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.
Solved! Go to Solution.
Views
Replies
Total Likes
If the code compiles fine, can you try deleting the version in the MANIFEST.MF file and then redeploy the bundle.
If the code compiles fine, can you try deleting the version in the MANIFEST.MF file and then redeploy the bundle.
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>
Views
Replies
Total Likes