Sonar 扫描问题

执行 Sonar-Scanner 出现以下异常,在Sonar项目中配置文件sonar-application-7.1.1-SNAPSHOTsonarqube-7.1.1-SNAPSHOTconfsonar.properties 只要启用了本地的 Mysql 就出现以下错误,使用内嵌的h2数据库没有问题

17:18:04.370 DEBUG: Detection of duplications for E:/ideaProjects/securityte_java/src/main/resources/static/lib/chart/macarons.js
17:18:04.371 INFO: CPD calculation finished
17:18:13.613 INFO: Analysis report generated in 9175ms, dir size=17 MB
17:18:18.781 INFO: Analysis reports compressed in 5168ms, zip size=4 MB
17:18:18.782 INFO: Analysis report generated in E:ideaProjectssecurityte_java.scannerworkscanner-report
17:18:18.782 DEBUG: Upload report
17:18:18.891 DEBUG: POST 500 http://localhost:9000/api/ce/submit?projectKey=test&projectName=test | time=106ms
17:18:18.986 INFO: ------------------------------------------------------------------------
17:18:18.986 INFO: EXECUTION FAILURE
17:18:18.986 INFO: ------------------------------------------------------------------------
17:18:18.987 INFO: Total time: 2:19.127s
17:18:19.105 INFO: Final Memory: 20M/1319M
17:18:19.105 INFO: ------------------------------------------------------------------------
17:18:19.105 ERROR: Error during SonarQube Scanner execution
17:18:19.105 ERROR: Failed to upload report - 500: An error has occurred. Please contact your administrator

阅读 4.7k
1 个回答
新手上路,请多包涵

兄弟问题解决了没有,我也遇到一模一样的问题

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进