I’m running sonar with Sonnar scanner-cli latest docker images but can not fix issue S5164 even i called remove() method.
But when i try to run by sonarlint it’s passed (version 4.13)
Any idea?
I’m running sonar with Sonnar scanner-cli latest docker images but can not fix issue S5164 even i called remove() method.
But when i try to run by sonarlint it’s passed (version 4.13)
Any idea?
Hello @duynk3,
My first guess is that you are not correctly setting the properties of your projects. Please double-check the logs of the analysis, and that the properties sonar.java.libraries
and sonar.java.test.libraries
are correctly set to a directory containing the dependencies.
Hope this helps.
Quentin
Thanks @Quentin for your idea but it’s not works.
i think my setting is correct -Dsonar.java.binaries="./target/classes".
Class be scanned but issue still be there