I am trying to use the LetterRenderService to generate Letters(PDFs) on AEM Forms 6.2 OSGi.
I am using the following Maven dependency on my project.
<dependency> <groupId>com.adobe.aemfd</groupId> <artifactId>aemfd-client-sdk</artifactId> <version>6.2.0</version> </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.icc.ddg.api,version=[3.1,4) -- Cannot be resolved
I checked depfinder and it shows the Maven dependency as below (please also see the screenshot).
<groupId>com.adobe.livecycle.icc</groupId> <artifactId>acm-osgi</artifactId> <version>7.1.10</version> <scope>provided</scope> </dependency>
I checked Adobe Public Repo and I can't seem to find this dependency there and so if I add this to my project POM file, it throws error, stating that it is unable to find the jar.
How do I go about resolving this issue?
This is a known issue in 6.2, has been fixed in 6.3. as workaround in 6.2 do the following to your import package version numbers
*; version="[0.0.0, 10.0.0)";
Thanks. It worked !