Bundle Activation Error | Community
Skip to main content
neeraj_24412
Level 4
Nov 10, 2022 4:56 PM UTC
Solved

Bundle Activation Error

Hi all,
I am facing this issue in bundles 
org.apache.sling.api.request,version=[2.7,3) -- Cannot be resolved
org.apache.sling.api.resource,version=[2.13,3) -- Cannot be resolved
I am using Aem cloud version and build this project by archetype 35

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SantoshSai
SantoshSaiAccepted solution
New Participant
Nov 10, 2022 5:34 PM UTC

Hi @neeraj_24412 ,
This is because aem.sdk.api dependency is downloaded on your local per your pom.xml.

  • So as per this version of cloud the org.apache.sling.api.request,version is [2.6,3). But if the local cloud version you are using is lesser than the above version, then your bundles will not resolve and will throw the above error.

Please follow the steps mentioned here [0]. as per mentioned by @saravanan_dharmaraj

[0]: https://www.linkedin.com/pulse/aem-bundles-resolving-archetype-archetypeversion35-cannot-vikraman/

Hope that helps!

Regards,

Santosh

Santosh Sai

3 replies

SantoshSai
SantoshSaiAccepted solution
New Participant
Nov 10, 2022 5:34 PM UTC

Hi @neeraj_24412 ,
This is because aem.sdk.api dependency is downloaded on your local per your pom.xml.

  • So as per this version of cloud the org.apache.sling.api.request,version is [2.6,3). But if the local cloud version you are using is lesser than the above version, then your bundles will not resolve and will throw the above error.

Please follow the steps mentioned here [0]. as per mentioned by @saravanan_dharmaraj

[0]: https://www.linkedin.com/pulse/aem-bundles-resolving-archetype-archetypeversion35-cannot-vikraman/

Hope that helps!

Regards,

Santosh

Translate
Santosh Sai
neeraj_24412
Level 4
Nov 10, 2022 5:44 PM UTC

Thanks @santoshsai @saravanan_dharmaraj 

Translate