Hi, i am setting a quality gate on Azure DevOps, using Sonar Cloud to verify a java project. However, i caught this problem during run the code analysis
##[error]ERROR: Error during SonarQube Scanner execution
##[error]ERROR: Unable to load component class org.sonar.scanner.scan.filesystem.ProjectFileIndexer
##[error]ERROR: Caused by: Unable to load component class org.sonar.scanner.scan.filesystem.FileIndexer
##[error]ERROR: Caused by: Unable to load component class org.sonar.scanner.scan.filesystem.MetadataGenerator
##[error]ERROR: Caused by: Unable to load component class org.sonar.scanner.scan.filesystem.StatusDetection
##[error]ERROR: Caused by: Unable to load component class org.sonar.scanner.scm.ScmChangedFiles
##[error]ERROR:
##[error]ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
##[error]D:\a_tasks\SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1\1.6.3\sonar-scanner\bin\sonar-scanner.bat failed with return code: 1
Finishing: Run Code Analysis
I add these codes in prepare-analysis:
configMode: manual
sonar.java.source: 8.0
sonar.java.binaries: **/target/classes
cliSources: ‘/’
but my quality gate still return error.
How should i fix this problem. Thanks