Resolving missing OSGI bundle dependencies | Community
Skip to main content
Level 4
Jan 17, 2020 2:42 PM UTC
Solved

Resolving missing OSGI bundle dependencies

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
RobertBailey1Accepted solution
Level 4
Jan 20, 2020 6:08 PM UTC

Resolved by updating AEM from 6.5.0 to 6.5.2

4 replies

RobertBailey1AuthorAccepted solution
Level 4
Jan 20, 2020 6:08 PM UTC

Resolved by updating AEM from 6.5.0 to 6.5.2

Translate
Employee
Jan 17, 2020 6:29 PM UTC

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

Translate
simoneb20672152
Level 2
Jan 17, 2020 3:19 PM UTC

The bundle not starting is a custom bundle?

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

Translate
Level 4
Jan 17, 2020 3:34 PM UTC
Yes it is a custom bundle. It is using uber-jar version 6.5.2.0
Translate