【发布时间】:2020-01-06 11:11:37
【问题描述】:
我在我的 VSCode 上使用 SonarQube 对 Visual Studio Code 的支持来连接 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.
任何人都可以帮助如何解决这个问题? 任何帮助都将不胜感激。
【问题讨论】:
标签: java spring-boot visual-studio-code sonarqube