Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Cannot resolve imported package in servlet bundle

Avatar

Level 4

I'm running AEM 6.5.17 (with uber-jar 6.5.17) and I've gone through the steps to install a third party package in my local author instance. However the bundle is not active and I see the following issues under imported packages:

 

However the bundle is not active and I see the following issues under imported packages:

org.apache.commons.text,version=[1.10,2) -- Cannot be resolved
org.apache.sling.api.request,version=[2.7,3) -- Cannot be resolved
org.apache.sling.api.resource,version=[2.13,3) -- Cannot be resolved

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You can search in dependency finder if any other version for these dependencies is not installed on your instance.

 

http://localhost:4502/system/console/depfinder

 

Put package id like this in serach box :
org.apache.commons.text

 

If it's not installed, then install it manually from bundles console.

 

Hope this helps!

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @stiegjo22 

 

Can you please system console bundles screen snapshot which have this bundle dependency errors which is stoping this bundle to be active?

 

Avatar

Correct answer by
Community Advisor

You can search in dependency finder if any other version for these dependencies is not installed on your instance.

 

http://localhost:4502/system/console/depfinder

 

Put package id like this in serach box :
org.apache.commons.text

 

If it's not installed, then install it manually from bundles console.

 

Hope this helps!