Sonarqube - 分配的质量配置文件导致MySQLIntegrityConstraintViolationException:重复条目

时间:2015-11-24 05:54:32

标签: mysql sonarqube

我尝试将自定义质量配置文件(只是默认js配置文件Sonarway的副本)添加到我的项目中。如果我这样做,我最终得到以下错误信息:

### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'XXXXX-js' for key 'uniq_project_qprofiles' ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: UPDATE project_qprofiles SET profile_key=? WHERE project_uuid=? ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'XXXXX-js' for key 'uniq_project_qprofiles'

Sonarqube系统:服务器版本5.2,Ubuntu 14.04上的MySQL 5.5.46-0ubuntu0.14.04.2

自从版本5.1.2更新到5.2

以来,我们有这个问题

任何建议?

0 个答案:

没有答案