Skip to main content
durga_kavali
New Participant
March 11, 2023

Bundle [core-bundle] is importing package(s) com.adobe.fd.workspace.service.external in start level 20 but no bundle is exporting these for that start level.

  • March 11, 2023
  • 2 replies
  • 1710 views

Hi all,

Am seeing this error when am trying to build my project . am trying to read the adaptive form’s submitted data is in xml format using 

WorkitemUserMetadataService

have imported the following package.

import com.adobe.fd.workspace.service.external.WorkitemUserMetadataService;

 added dependency as follows in main/core pom xmls as follows:

 

<dependency>

    <groupId>com.adobe.aemfd</groupId>

    <artifactId>aemfd-client-sdk</artifactId>

    <version>6.3.0</version>

    <scope>provided</scope>

</dependency>    

                                                                                                                     

and main pom.xml:

<dependency>

    <groupId>com.adobe.aemfd</groupId>

    <artifactId>aemfd-client-sdk</artifactId>

    <version>6.3.0</version>

</dependency>

 

Can someone provide solution on how to resolve this. I've tried everything I've seen but nothing seems to fix it.

 

Thanks in advance.

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

2 replies

TarunKumar
New Participant
March 13, 2023

Hi @durga_kavali ,

Can you compare your pom dependency with the below and check what is missing. Below for version variable you can use yours.

<dependency> <groupId>com.adobe.aem</groupId> <artifactId>aem-forms-sdk-api</artifactId> <version>${aem.forms.sdk.api}</version> </dependency> <dependency> <groupId>com.adobe.aem</groupId> <artifactId>core-forms-components-apps</artifactId> <type>zip</type> <version>${core.forms.components.version}</version> </dependency> <dependency> <groupId>com.adobe.aem</groupId> <artifactId>core-forms-components-core</artifactId> <version>${core.forms.components.version}</version> </dependency>

 

durga_kavali
New Participant
March 13, 2023

@tarunkumar @jagadeesh_prakash  

 

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

[ERROR] [api-regions-exportsimports] project.core:0.0.1-SNAPSHOT: Bundle core:0.0.1-SNAPSHOT is importing package(s) com.adobe.fd.workspace.service.external in start level 20 but no bundle is exporting these for that start level. (project.all:0.0.1-SNAPSHOT)

getting above error after adding all the dependencies mentioned above,build is failing  . 

Jagadeesh_Prakash
New Participant
March 13, 2023

@durga_kavali 

Seems the package is not available as a bundles so can you try reffering to below URL 

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-error-while-building-maven-project-quot-bundle-aem/m-p/433445

 

 

 

 

Jagadeesh_Prakash
New Participant
March 11, 2023

@durga_kavali In 6.5 AEM i recommend below dependency 

 

<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>forms-sdk</artifactId>
<version>6.5.0</version>
<scope>provided</scope>
</dependency>

durga_kavali
New Participant
March 11, 2023

@jagadeesh_prakash  thanks for reply.

 

am using AEM as cloud service.

will this dependency work?

Jagadeesh_Prakash
New Participant
March 11, 2023

yes it should work. @durga_kavali