SonarQube部署、运行常见错误解决

Sonar Error - Can not execute Sonar: You must install a plugin that supports the language ‘java’

在扫描项目时缺少扫描插件

检查路径 ${SONAR_HOME}/extensions/plugins 中是否有扫描插件

1. 有对应插件:则查看项目根路径 sonar-project.properties 配置文件
#must be unique in a given SonarQube instance
sonar.projectKey=ifc-handheld-webapp:scanner
#this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 5.1.2
sonar.projectName=ifc-handheld-webapp-scanner
sonar.projectVersion=1.0

#Path is relative to the sonar-project.properties file. Replace "" by "/" on Windows.
#Since SonarQube 4.2, this property is optional if sonar.modules is set.
#If not set, SonarQube starts looking for source code from the direc
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值