SonarQube c/c++社区插件错误

SonarQube c/c++ community plugin error

本文关键字:插件 错误 社区 c++ SonarQube      更新时间:2023-10-16

我是sonarQube新手。我按照这个步骤安装了C/c++社区插件。

声纳安装在我的windows机器声纳5.1和运行程序是2.4。当我试图分析一个C/c++项目时,我得到了以下错误。

INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 9.944s
Final Memory: 16M/78M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: You must install a plugin that supports the language 'cpp'

我该如何解决这个问题?

你能在Sonar设置中看到插件吗?尝试进入更新中心并安装插件的任何更新(如果有的话)。否则,打开sonar项目属性并删除/注释掉sonar。如果你有语言属性的话?然后再试一次。
如果以上不起作用,那么共享显示收到的错误的日志部分(可在sonarqube-5.xlogssonar.log)。