org.apache.sling.api.resource,version=[2.12,3) -- Cannot be resolved | Community
Skip to main content
Level 2
Feb 24, 2023 12:07 AM UTC
Solved

org.apache.sling.api.resource,version=[2.12,3) -- Cannot be resolved

Hi there,

 

I am facing below issue in my core bundle. It is not able to resolve that jar and I am not sure where to get this jar file from . Please help me.

 

 

Thanks,

Matha

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SivakumarKanoori
SivakumarKanooriAccepted solution
New Participant
Feb 24, 2023 2:12 AM UTC

The error message means that the OSGi framework is couldnot able to find a version >= 2.12 and < 3 of the org.apache.sling.api.resource Java package for a bundle that wants to import it.

As a result, bundle cannot be activated, so that this bundle cannot work.

this org.apache.sling.api.resource package will be provided by the org.apache.sling.api bundle, so either you have an old version of that bundle in your system, or you have installed incompatible bundles that require a newer version of that package.

Thanks,Siva

1 reply

SivakumarKanoori
SivakumarKanooriAccepted solution
New Participant
Feb 24, 2023 2:12 AM UTC

The error message means that the OSGi framework is couldnot able to find a version >= 2.12 and < 3 of the org.apache.sling.api.resource Java package for a bundle that wants to import it.

As a result, bundle cannot be activated, so that this bundle cannot work.

this org.apache.sling.api.resource package will be provided by the org.apache.sling.api bundle, so either you have an old version of that bundle in your system, or you have installed incompatible bundles that require a newer version of that package.

Translate
Thanks,Siva