Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Resolving missing OSGI bundle dependencies

Avatar

Level 2

Hi All,

I have some installed OSGI bundles on an AEM server , which are not starting due to missing dependencies , when I goto http://localhost:4502/system/console/bundles.

The missing dependencies are :-

com.day.cq.dam.api,version=[1.27,2) -- Cannot be resolved

org.apache.sling.api.servlets,version=[2.3,3) -- Cannot be resolved

com.day.cq.dam.commons.util,version=[1.55,2) -- Cannot be resolved

Do you know how I can resolve these missing dependencies ?

Thank you for your time and best regards.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Resolved by updating AEM from 6.5.0 to 6.5.2

View solution in original post

4 Replies

Avatar

Level 2

The bundle not starting is a custom bundle?

If so, check if you are declaring the correct uber-jar version dependency for your instance. 

Avatar

Level 2
Yes it is a custom bundle. It is using uber-jar version 6.5.2.0

Avatar

Employee Advisor

You need to compile the code with correct uber jar. Example: If you are running AEM 6.4.4, you need to use uber jar version 6.4.4

Avatar

Correct answer by
Level 2

Resolved by updating AEM from 6.5.0 to 6.5.2