Package com.fasterxml.jackson.databind;version=[2.16,3)] in start level | Community
Skip to main content
Level 2
July 12, 2024
Solved

Package com.fasterxml.jackson.databind;version=[2.16,3)] in start level

  • July 12, 2024
  • 3 replies
  • 1000 views

Hi Everyone,

I am able to deployed the code on local sdk but while deploying the code on the adobe cloud manager, analyzer gives below error.

 

 

 

[ERROR] com.adobe.granite.fact.command.AnalyseCommand - exception occurred : Errors are present in the analyser. Please, check logs. Errors: [api-regions-exportsimports] test.project.core:0.0.1-SNAPSHOT: Bundle test.core:0.0.1-SNAPSHOT is importing package(s) [Package com.fasterxml.jackson.annotation;version=[2.16,3), Package com.fasterxml.jackson.databind;version=[2.16,3)] in start level 20 but no visible bundle is exporting these for that start level in the required version range. (test.project.all:0.0.1-SNAPSHOT) [api-regions-exportsimports] test.project.core:0.0.1-SNAPSHOT: Bundle test.core:0.0.1-SNAPSHOT is importing package(s) [Package com.fasterxml.jackson.annotation;version=[2.16,3), Package com.fasterxml.jackson.databind;version=[2.16,3)] in start level 20 but no visible bundle is exporting these for that start level in the required version range. (test.project.all:0.0.1-SNAPSHOT) [api-regions-exportsimports] test.project.core:0.0.1-SNAPSHOT: Bundle test.core:0.0.1-SNAPSHOT is importing package(s) [Package com.fasterxml.jackson.annotation;version=[2.16,3), Package com.fasterxml.jackson.databind;version=[2.16,3)] in start level 20 but no visible bundle is exporting these for that start level in the required version range. (test.project.all:0.0.1-SNAPSHOT) [api-regions-exportsimports] test.project.core:0.0.1-SNAPSHOT: Bundle test.core:0.0.1-SNAPSHOT is importing package(s) [Package com.fasterxml.jackson.annotation;version=[2.16,3), Package com.fasterxml.jackson.databind;version=[2.16,3)] in start level 20 but no visible bundle is exporting these for that start level in the required version range. (test.project.all:0.0.1-SNAPSHOT) [api-regions-exportsimports] test.project.core:0.0.1-SNAPSHOT: Bundle test.core:0.0.1-SNAPSHOT is importing package(s) [Package com.fasterxml.jackson.annotation;version=[2.16,3), Package com.fasterxml.jackson.databind;version=[2.16,3)] in start level 20 but no visible bundle is exporting these for that start level in the required version range. (test.project.all:0.0.1-SNAPSHOT) [api-regions-exportsimports] test.project.core:0.0.1-SNAPSHOT: Bundle test.core:0.0.1-SNAPSHOT is importing package

 

 

 

I tried to add below dependency still show the same error again and again.

I saw on the cloud  com.fasterxml.jackson.databind version is 2.15.2 that one also tried

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.16.1</version>
</dependency>

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.16.1</version>
</dependency>
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by TarunKumar

HI @lax50 ,

Which AEM and SP version are you using? Fasterxml dependency should get injected from your uber jar.
Please check the uber jar version and subversion. For instance if your service pack is of version 17 then your uber jar dependency should look like

<dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> <version>6.5.17</version> </dependency>

 

-Tarun

3 replies

TarunKumar
Community Advisor
TarunKumarCommunity AdvisorAccepted solution
Community Advisor
July 15, 2024

HI @lax50 ,

Which AEM and SP version are you using? Fasterxml dependency should get injected from your uber jar.
Please check the uber jar version and subversion. For instance if your service pack is of version 17 then your uber jar dependency should look like

<dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> <version>6.5.17</version> </dependency>

 

-Tarun

Anudeep_Garnepudi
Community Advisor
Community Advisor
July 15, 2024

Add package "com.fasterxml" in bundle export list

AG
kautuk_sahni
Community Manager
Community Manager
July 16, 2024

@lax50 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni