com.adobe.aemfd.docmanager - Causing build error in Local SDK (AEM cloud) | Community
Skip to main content
April 20, 2024

com.adobe.aemfd.docmanager - Causing build error in Local SDK (AEM cloud)

  • April 20, 2024
  • 2 replies
  • 1663 views

I'm on Local SDK and have added the following dependency in pom.xml.  Then I imported a few dependencies in the AEM servlet. But while running the maven build (mvn clean install), it's throwing an error.

 

[ERROR] The analyser found the following errors for the author and publish :

[ERROR] [api-regions-exportsimports] xyz-core:1.0.0-SNAPSHOT: Bundle xyz-core:1.0.0-SNAPSHOT is importing package(s) Package com.adobe.aemfd.docmanager;version=[1.9,2) in start level 20 but no visible bundle is exporting these for that start level in the required version range.

 

Maven Dependency -

 

<dependency>
    <groupId>com.adobe.aemfd</groupId>
    <artifactId>aemfd-client-sdk</artifactId>
    <version>6.0.1192</version>
        <scope>provided</scope>
</dependency>
 
<dependency>
<artifactId>adobe-aemds-core-docmanager</artifactId>
<version>4.0.120</version>
<groupId>com.adobe.aemds.core</groupId>
<scope>provided</scope>
</dependency>
 
Imports in AEM servlet -
 

import com.adobe.aemfd.docmanager.Document;

import com.adobe.fd.output.api.OutputService;

import com.adobe.fd.output.api.OutputServiceException;

import com.adobe.fd.output.api.PDFOutputOptions;

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Adobe Employee
April 20, 2024
Adobe Employee
April 20, 2024

You are mixing 6.5 with cloud service packages

 

MohanJo1Author
April 20, 2024

@workflowuser - Certainly! Could you provide more clarity on what specific aspects you're referring to as being mixed? I've setup the forms addon already in the install folder.

 

Also, a similar issue is being discussed at below forum link below, but I don't see any solution there.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/build-error-while-converting-project-to-cloud-runnable-image-for/m-p/438075

 

 

MohanJo1Author
April 20, 2024

Are you using the cloud service or 6.5

if using 6.5 follow this 

https://experienceleague.adobe.com/en/docs/experience-manager-learn/forms/document-services/output-and-forms-services-article-develop#

 

if using cloud follow this link to generate pdf 

https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/forms/doc-gen-formscs/introduction


@workflowuser We're on the cloud environment, and until recently, we were using a cloud link to generate PDFs. However, during a recent discussion with Adobe representatives, they recommended minimizing the roundtrip cost of the HTTP API by leveraging the OSGi API available within our AEM instance. Now, I'm hearing that this OSGi API may not be compatible. I'm unsure which information is accurate. It's very confusing.