Detect problems encountered by java projects

Hello everyone.
I installed sonarQube with Helm.
I encountered some problems in the inspection of the java language. I would like to ask you for advice. The error is shown in the figure. He said very clearly that I need a class file.

I want to add source code checking to my cloud platform. I want the check for all languages ​​to work with

docker run sonarsource/sonar-scanner-cli .

why does the java check still need a class file

Hey there.

The analysis of Java requires the actual bytecode of the compiled application to perform an accurate analysis. That’s why we suggest using the SonarScanner for Maven or SonarScanner for Gradle, scanner integrations with the build tools you’re probably already using to build your code.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.