Resolving missing OSGI bundle dependencies

RobertBailey1

17-01-2020

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.

Answers (2)

Answers (2)

jbrar

Employee

17-01-2020

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

simoneb20672152

17-01-2020

The bundle not starting is a custom bundle?

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