##[error]WARNING: An illegal reflective access operation has occurred

Must-share information (formatted with Markdown):

  • which versions are you using
    Server: SonarQube Server 8.2 Community Edition
    Scanner: sonar-scanner-cli-4.3.0.2102-window.zip
    Plugin: SonarScanner for Azure DevOps 4.9.0
  • what are you trying to achieve
    Attempting to scan javascript/typescipt (node) app using standalone scanner in TFS 2018
  • what have you tried so far to achieve this
    Setup CI/CD pipeline with the following steps:
  • Download sonar-scanner-cli from and java 11 from artifact repo
  • Prepare Analysis Configuration Azure Plugin)
  • npm install app dependencies
  • npm run-build
  • Run Sonar scan using sonar-scanner CLI from command-line

Sonar scan step generating error below - Please advise
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/C:/Users/XXXX/.sonar/cache/54f6535c111cefad0fb6a09ba3e61922/sonar-javascript-plugin.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain)

WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release