Sonarqube 在windows 7中执行sonar runner命令时出错

Sonarqube 在windows 7中执行sonar runner命令时出错,sonarqube,Sonarqube,我想使用sonarqube分析我的java项目,并在windows控制台中执行以下命令: sonar-runner -Dproject.home=D:\integ rated-accounting\com.datx.integratedAccounting.core 但我在执行命令后出错: ERROR: Error during Sonar runner execution ERROR: Unable to execute Sonar ERROR: Caused by: You must d

我想使用sonarqube分析我的java项目,并在windows控制台中执行以下命令:

sonar-runner  -Dproject.home=D:\integ
rated-accounting\com.datx.integratedAccounting.core
但我在执行命令后出错:

ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: You must define the following mandatory properties for 'Unknow
n': sonar.projectKey, sonar.projectName, sonar.projectVersion, sonar.sources

必须在项目主目录中创建sonar-project.properties文件。请参阅。

我正在project home目录中创建sonar-project.properties,但出现此错误