コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

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

Avatar

Level 6

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

1 受け入れられたソリューション

Avatar

正解者
Level 10

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 返信

Avatar

正解者
Level 10

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. 

Avatar

Level 6

Hi Scott,

 

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

 

Reagrds

Clive Stewart

Avatar

Level 2

Hi Clive,

What version worked for you ?

Regards

Sai