Java VSCode SonarQube支持Visual Studio代码错误400

Java VSCode SonarQube支持Visual Studio代码错误400,java,spring-boot,visual-studio-code,sonarqube,Java,Spring Boot,Visual Studio Code,Sonarqube,我正在VSCode上使用对Visual Studio代码的SonarQube支持来连接SonarQube服务器 这是我的全局配置Global.json { "$schema": "https://raw.githubusercontent.com/silverbulleters/sonarqube-inject-vsc/master/schemas/global.json", "servers": [ { "id": "localhost"

我正在VSCode上使用对Visual Studio代码的SonarQube支持来连接SonarQube服务器

这是我的全局配置Global.json

{
    "$schema": "https://raw.githubusercontent.com/silverbulleters/sonarqube-inject-vsc/master/schemas/global.json",
    "servers": [
        {
            "id": "localhost",
            "url": "http://localhost:9000/",
            "token": "0922636ce9de8248816fc2f8a89369a56788a64e"
        }
    ]
}
这是我的sonarlint.json

{
    "$schema": "https://raw.githubusercontent.com/silverbulleters/sonarqube-inject-vsc/master/schemas/sonarlint.json",
    "serverId": "localhost",
    "projectKey": "guru.springframework:springmvc"
}
这是我的错误:

INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 438419:07:17.704s
INFO: Final Memory: 5M/20M
INFO: ------------------------------------------------------------------------
ERROR: Error executing SonarLint
ERROR: Error 400 on http://localhost:9000/api/components/tree.protobuf?qualifiers=BRC&baseComponentKey=guru.springframework%3Aspringmvc&ps=500&p=1: The 'component' parameter is missing
ERROR: 
ERROR: To see the full stack trace of the errors, re-run SonarLint with the -e switch.
ERROR: Re-run SonarLint using the -X switch to enable full debug logging.
谁能帮助解决这个问题?
非常感谢您的帮助。

刚刚得到答案,问题是我使用的VScode插件不支持Sonarqube 8

降到版本7解决了这个问题