Facing issues in bundle resolution | Community
Skip to main content
RitendraS11
Level 4
July 6, 2017
Solved

Facing issues in bundle resolution

  • July 6, 2017
  • 11 replies
  • 9197 views

Hi All,

I am trying to integrate OrientDB with a simple AEM application. after the build, I am getting the error in osgi console as:

Imported Packagescom.sun.jdi -- Cannot be resolved and overwritten by Boot Delegation
com.sun.jdi.connect -- Cannot be resolved and overwritten by Boot Delegation
com.sun.jdi.event -- Cannot be resolved and overwritten by Boot Delegation
com.sun.jdi.request -- Cannot be resolved and overwritten by Boot Delegation

In sling.properties file, as we used to add the below line

sling.bootdelegation.sun=sun.*,com.sun.*

I am using AEM 6.2, so this particular line is already present in sling.properties file. I am not able to get the pointer as what needs to be done to fix the issue.

Thanks in advance!

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 RitendraS11

Thanks a lot, everyone!!!

I have fixed the issue. I had referred the below URLs for resolving corresponding bundle issues:

  1. jdk.nashorn.api.scripting -- Cannot be resolved

https://github.com/mszu/nashorn-scripting-api-fragment

  1. javax.persistence -- Cannot be resolved
    javax.persistence.criteria -- Cannot be resolved
    javax.persistence.metamodel -- Cannot be resolved
    javax.persistence.spi -- Cannot be resolved

http://www.java2s.com/Code/Jar/j/Downloadjavaxpersistence203jar.htm

  1. javax.annotation.meta -- Cannot be resolved

http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22jsr305%22

11 replies

Level 2
September 24, 2019

Hi,

Currently we are facing an issue with com.sun.medialib.mlib cannot be resolved and overwritten by boot delegation.

I had downloaded the jar and updated it as osgi bundle by adding certain properties in the Manifest file. I had installed the bundle and it is active.

Whenever I was installing my project bundle it is showing as Installed State. I am getting an error called com.sun.medialib.mlib cannot be resolved and overwritten by boot delegation.

Need help.

Thanks,

Pradeep Kumar.