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

 

 

Adobe Employee
April 20, 2024

Can you please tell us what is the use case that you are trying to accomplish?