Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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>
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

HI @Sanjay50 ,

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

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

HI @Sanjay50 ,

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

Avatar

Community Advisor

Add package "com.fasterxml" in bundle export list

Avatar

Administrator

@Sanjay50 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