Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Bundle Activation Error

Avatar

Level 4

12neeraj_0-1668099185039.png

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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