Resolving missing OSGI bundle dependencies | Community
Skip to main content
New Participant
January 17, 2020
Solved

Resolving missing OSGI bundle dependencies

  • January 17, 2020
  • 3 replies
  • 4571 views

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.
Best answer by RobertBailey1

Resolved by updating AEM from 6.5.0 to 6.5.2

3 replies

RobertBailey1AuthorAccepted solution
New Participant
January 20, 2020

Resolved by updating AEM from 6.5.0 to 6.5.2

Employee
January 17, 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
New Participant
January 17, 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. 

New Participant
January 17, 2020
Yes it is a custom bundle. It is using uber-jar version 6.5.2.0