Aem Analyser plugin error | Community
Skip to main content
Level 2
October 19, 2021

Aem Analyser plugin error

  • October 19, 2021
  • 1 reply
  • 1432 views

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 : 

 

I am using this version of asset share : 

2.0.6

 

And sdk version : 

2021.7.5662.20210726T181801Z-210600

 Any help please ?? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SantoshSai
Community Advisor
Community Advisor
October 19, 2021

Hi @karim_onizuka 

 

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

 

Regards,

Santosh

Santosh Sai
Level 2
October 19, 2021

Hello @santoshsai 

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

But I can not remove that import

joerghoh
Adobe Employee
Adobe Employee
October 23, 2021

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?