Hello Experts,
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).
<dependency>
<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?
Thanks,
Priyank P
Solved! Go to Solution.
Views
Replies
Total Likes
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
<plugin> |
<groupId>org.apache.felix</groupId> |
<artifactId>maven-bundle-plugin</artifactId> |
<extensions>true</extensions> |
<configuration> |
<instructions> |
... |
<Import-Package> |
*; version="[0.0.0, 10.0.0)"; |
</Import-Package> |
</instructions> |
</configuration> |
</plugin> |
Views
Replies
Total Likes
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
<plugin> |
<groupId>org.apache.felix</groupId> |
<artifactId>maven-bundle-plugin</artifactId> |
<extensions>true</extensions> |
<configuration> |
<instructions> |
... |
<Import-Package> |
*; version="[0.0.0, 10.0.0)"; |
</Import-Package> |
</instructions> |
</configuration> |
</plugin> |
Views
Replies
Total Likes
I am getting the same error in my local, Where exactly should I modify the code?
Views
Replies
Total Likes
Thanks. It worked !
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies