Skip to main content
Level 5
July 9, 2025
Solved

Error in Import Packages com.adobe.aemfd.docmanager,version=[1.9,2) -- Cannot be resolved

  • July 9, 2025
  • 3 replies
  • 1028 views

I'm using AEM aa CS, I need to generate a PDF using xdp template and xml data. So i used Output service api as per the below link.

Generate PDF documents using output service | Adobe Experience Manager

I'm getting the import error while uploading the bundle in my local AEM aa CS.

I added the following dependency.

<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>6.0.1328</version>
</dependency>
Please let me know if i missed anything, thanks.
Best answer by aravindS

Thanks everyone for your reply.

I have used this api to generate pdf successfully using xdp template and xml data.

POST call

https://YOUR_UNIQUE_SERVER.adobeaemcloud.com/adobe/forms/doc/v1/generatePDFOutput

req. parameters - in body add required files as a input with the name of template and data. Use Basic auth / Bearer it works fine on both authentication.

Thanks.

 

3 replies

Adobe Employee
July 9, 2025

Hello @aravinds 

 

OutputService and FormsService Java APIs (such as com.adobe.fd.output.api.OutputService) are for on-premise/AEM 6.5 environments.
In AEMaaCS, these APIs are not considered public.
Therefore, the aemfd-client-sdk dependency is not supported for custom code on AEMaaCS, which is likely why your bundle is failing to resolve imports.

In Cloud Service, document generation (PDF with XDP + XML) should be performed via the Communications HTTP APIs [0]

This is a REST API for PDF generation.

This approach will work both for local SDK and deployed Cloud Service environments, and avoids Java API wiring entirely.

 

Thanks,

Rahul Pandey

 

[0] https://developer.adobe.com/experience-manager-forms-cloud-service-developer-reference/references/output-sync/#tag/Communications-Services

aravindSAuthor
Level 5
July 9, 2025

Hi @rahulpandey27 ,

Thanks for your reply, can you please check this
https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/forms/forms-cs-output-and-forms-service/outputservice

we can use this api in AEM aa CS as well.

If you have any sample code or link for this using Communications HTTP APIs [0] please share that would be helpful.

Adobe Employee
July 10, 2025

@aravinds , 

You can use these APIs in cloud service as well. The SDK you are using currently is for 6.5 and hence, the issue. Please use the SDK at https://mvnrepository.com/artifact/com.adobe.aem/aem-forms-sdk-api. Use the correct version aligned with the version of Forms present on your cloud instance. This is the latest SDK version https://mvnrepository.com/artifact/com.adobe.aem/aem-forms-sdk-api/2025.06.11.02-250500. You can find the Forms version by clicking 'i' icon in forms manager console. 

 

Regards, 

Sufyan

 

 

aravindSAuthorAccepted solution
Level 5
July 10, 2025

Thanks everyone for your reply.

I have used this api to generate pdf successfully using xdp template and xml data.

POST call

https://YOUR_UNIQUE_SERVER.adobeaemcloud.com/adobe/forms/doc/v1/generatePDFOutput

req. parameters - in body add required files as a input with the name of template and data. Use Basic auth / Bearer it works fine on both authentication.

Thanks.

 

Level 1
May 21, 2026

Hi @rahulpandey27,

I’ve encountered the same issue. I need the latest version of aem-forms-sdk-api to work with AEM Forms Cloud Service (aem-forms-addon-2026.03.30.00-260300).

Could you please let me know how to obtain the corresponding JAR? Specifically, I am looking to use the following dependency:

 


<!-- Source: https://mvnrepository.com/artifact/com.adobe.aem/aem-forms-sdk-api -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>aem-forms-sdk-api</artifactId>
<version>2026.03.30.00-260300</version>
<scope>compile</scope>
</dependency>
``

Please advise if this is the correct version for compatibility, and whether there is any specific repository or access requirement to download it.

Thanks in advance for your guidance.

Best regards,
Stanley