Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

com.adobe.icc.ddg.api,version=[3.1,4) -- Cannot be resolved

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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>

3 Replies

Avatar

Correct answer by
Employee

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>

Avatar

Level 3

I am getting the same error in my local, Where exactly should I modify the code?