Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Replies

Avatar

Avatar
Boost 1
Level 1
vishalsaini
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
vishalsaini
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
vishalsaini
Level 1

10-08-2017

I tried this. It does resolves the bundle issue but it causes the services to stop.

Avatar

Avatar
Boost 1
Level 1
vishalsaini
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
vishalsaini
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
vishalsaini
Level 1

10-08-2017

Could you find anything for this?
I still cannot resolve the issue

Avatar

Avatar
Validate 10
Level 2
JoseBerciano
Level 2

Likes

10 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 2
JoseBerciano
Level 2

Likes

10 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
JoseBerciano
Level 2

04-10-2017

Currently facing the same issue here in AEM 6.3 as mentioned in the first post.

com.fasterxml.jackson.databind,version=[2.9,3) -- Cannot be resolved

I am using the following dependency in my parent pom

<dependency>

<groupId>com.fasterxml.jackson.core</groupId>

<artifactId>jackson-databind</artifactId>

<version>2.9.1</version>

</dependency>

Downloading the package jackson-databind-2.9.1.jar and installing via package Install/update seems to be fixing the issue, although I was hoping to automate this process in the Maven build

I tried <Import-Package></Import-Package> but I could not get it to work.

Any suggestions?

Avatar

Avatar
Validate 10
Level 3
ronnyfm
Level 3

Likes

22 likes

Total Posts

70 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 10
Level 3
ronnyfm
Level 3

Likes

22 likes

Total Posts

70 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile
ronnyfm
Level 3

04-10-2017

What the error.log say when the bundle stops? If all dependencies are resolved, there could be another reason for the bundle error.

Avatar

Avatar
Validate 10
Level 3
ronnyfm
Level 3

Likes

22 likes

Total Posts

70 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 10
Level 3
ronnyfm
Level 3

Likes

22 likes

Total Posts

70 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile
ronnyfm
Level 3

04-10-2017

Hi,

Did you try the export bundle as I suggest in a previous post?

Avatar

Avatar
Validate 1
Level 1
souhaylabdouni
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
souhaylabdouni
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
souhaylabdouni
Level 1

15-01-2019

Hi,

One solution, that we use in our project is :

  • Add jackson dependencies with maven scope provided

<!-- JACKSON -->
<dependency>

   <groupId>com.fasterxml.jackson.core</groupId>

   <artifactId>jackson-annotations</artifactId>

   <version>${jackson_version}</version>

   <scope>provided</scope>

</dependency>

<dependency>

   <groupId>com.fasterxml.jackson.core</groupId>

   <artifactId>jackson-core</artifactId>

   <version>${jackson_version}</version>

   <scope>provided</scope>

</dependency>

<dependency>

   <groupId>com.fasterxml.jackson.core</groupId>

   <artifactId>jackson-databind</artifactId>

   <version>${jackson_version}</version>

   <scope>provided</scope>

</dependency>

  • Embed jackson dependencies to your package via content-package-maven-plugin to avoid uploading third party jar via osgi console package install / update

<build>

   <plugins>

   <plugin>

   <artifactId>maven-clean-plugin</artifactId>

   </plugin>

   <plugin>

   <groupId>com.day.jcr.vault</groupId>

   <artifactId>content-package-maven-plugin</artifactId>

   <configuration>

   <embeddeds>

   <embedded>

   <groupId>com.fasterxml.jackson.core</groupId>

   <artifactId>jackson-annotations</artifactId>

   <target>/apps/${app-folder}/install</target>

   </embedded>

   <embedded>

   <groupId>com.fasterxml.jackson.core</groupId>

   <artifactId>jackson-core</artifactId>

   <target>/apps/${app-folder}/install</target>

   </embedded>

   <embedded>

   <groupId>com.fasterxml.jackson.core</groupId>

   <artifactId>jackson-databind</artifactId>

   <target>/apps/${app-folder}/install</target>

   </embedded>

   </embeddeds>

   </configuration>

   </plugin>

   </plugins>

</build>