Help with importing com.fasterxml.jackson.dataformat.xml  into AEM 6.2 | Community
Skip to main content
New Participant
November 14, 2016
Solved

Help with importing com.fasterxml.jackson.dataformat.xml  into AEM 6.2

  • November 14, 2016
  • 3 replies
  • 2354 views

Hi,

 

I am trying to import jackson-dataformat-xml-2.5.3.jar into AEM 6.2 as it is a dependency in another OSGI bundle I have written.

When using the Eclipse Plug-In project I create an OSGI version.

However

Exported Packagescom.fasterxml.jackson.dataformat.xml,version=0.0.0

 

 

 

Here is screen shots of my projects error

 

This is my plug-in, note the version of the export package 0.0.0

This is the MANIFEST.MF file screen shot of the plug-in.

I need to have the export package version as 2.5.3.

 

Please could someone help me by explaining how I can set this.

Regards

Clive Stewart

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 smacdonald2008

Hi Clive - what is happening here is that the OSGi is looking for a specific version. You can change the version in the POM file or you can modify the MF file in the OSGi bundle and remove the version from the Import section. Then AEM will use the available version - not a specific version. 

3 replies

SRK_1D
New Participant
April 19, 2019

Hi Clive,

What version worked for you ?

Regards

Sai

New Participant
November 15, 2016

Hi Scott,

 

Thank you. I followed your advice and it worked for me.

 

Reagrds

Clive Stewart

smacdonald2008
smacdonald2008Accepted solution
New Participant
November 14, 2016

Hi Clive - what is happening here is that the OSGi is looking for a specific version. You can change the version in the POM file or you can modify the MF file in the OSGi bundle and remove the version from the Import section. Then AEM will use the available version - not a specific version.