Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR: Error during SonarScanner execution org.sonar.java.AnalysisException:

While running Sonar Scanner in simple hello word through Azure pipeline and SonarQube getting below error.

Your project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions property. enter image description here

like image 227
RahulTripathi07 Avatar asked Jun 03 '26 19:06

RahulTripathi07


1 Answers

You have to add the requested parameters on the Prepare step in the Advanced section:

enter image description here

Detailed explanation of the parameters you can find here: https://docs.sonarqube.org/latest/analysis/languages/java/

like image 129
Shamrai Aleksander Avatar answered Jun 06 '26 03:06

Shamrai Aleksander



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!