Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Aem Analyser plugin error

Karim_Onizuka
Level 2
Level 2

I think I have some dependency conflicts. 

 

I am using asset share commons as a dependency in my project. 

 

After a code change, I keep having this error : 

Screenshot 2021-10-19 at 16.28.03.png

 

I am using this version of asset share : 

2.0.6

 

And sdk version : 

2021.7.5662.20210726T181801Z-210600

 Any help please ?? 

5 Replies
SantoshSai
Level 5
Level 5

Hi @Karim_Onizuka 

 

Try to find out/correct the imports of your code change & check if that works.

 

Regards,

Santosh

Karim_Onizuka
Level 2
Level 2

Hello @SantoshSai 

Thank you for the answer, here is the part of the import causing the issue 

Screenshot 2021-10-19 at 16.45.22.png

But I can not remove that import

Jörg_Hoh
Employee
Employee

classes which reside within an "impl" java package are normally not exported by OSGI; at least that's the default used for AEM bundles, and I am not aware of any exception.

 

That means that the class "com.adobe.aem.commons.assetsshare.search.result.impl.results.QueryBUildsResultsImpl" is not available outside this specific java package.

 

You cannot use that class, also because you are not supposed to use it. It's also not part of the official API documentation. Why are using it?