Error while analyzing project (the last step) | Community
Skip to main content
February 5, 2024
Solved

Error while analyzing project (the last step)

  • February 5, 2024
  • 1 reply
  • 538 views

Hi, I have AEM 6.5 and got this error while using maven to build project.
Here are logs from console:
--- aemanalyser:0.9.2:analyse (default-analyse) @ wetrain.analyse ---
[INFO] Starting analyzing feature 'com.adobe.training:wetrain.analyse:slingosgifeature:aggregated-author.prod:1.0-SNAPSHOT'...
[INFO] - Executing Api Regions analyser task that checks that listed packages are actually exported [api-regions]...
[INFO] - Executing Api Regions check order analyser task [api-regions-check-order]...
[INFO] - Executing Bundle Import/Export Check [api-regions-exportsimports]...
[INFO] - Executing Api Regions cross-feature duplicate export task [api-regions-crossfeature-dups]...
[INFO] - Executing Configuration API analyser task [configuration-api]...
[INFO] - Executing Bundle Natice Code Check [bundle-nativecode]...
[INFO] - Executing Bundle Initial Content Check [bundle-content]...
[INFO] - Executing Bundle Resources Check [bundle-resources]...
[INFO] - Executing Requirements Capabilities check [requirements-capabilities]...
[INFO] Analyzing feature 'com.adobe.training:wetrain.analyse:slingosgifeature:aggregated-author.prod:1.0-SNAPSHOT' finished : 0 warnings, 2 errors.
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~wetrain.org.apache.sling.commons.log.pattern : Property is not allowed
[ERROR] Configuration org.apache.sling.commons.log.LogManager.factory.config~asyncjssightly.org.apache.sling.commons.log.level : Value error does not match provided options
[ERROR] Analyser detected errors on feature 'com.adobe.training:wetrain.analyse:slingosgifeature:aggregated-author.prod:1.0-SNAPSHOT'. See log output for error messages.

Thank you for any suggestion!

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

Hi @longdt ,

It seems you are getting this log error due to incompatible version of AEM analyzer. Adjust the property in the root Maven pom.xml for  AEM Analyser to latest version.
Try to use below version:-

<aemanalyser.version>1.3.0</aemanalyser.version>

 
Thanks
Tarun

1 reply

TarunKumar
Community Advisor
TarunKumarCommunity AdvisorAccepted solution
Community Advisor
February 5, 2024

Hi @longdt ,

It seems you are getting this log error due to incompatible version of AEM analyzer. Adjust the property in the root Maven pom.xml for  AEM Analyser to latest version.
Try to use below version:-

<aemanalyser.version>1.3.0</aemanalyser.version>

 
Thanks
Tarun