SpringBoot项目报错:“ java.sql.SQLIntegrityConstraintViolationException“ 解决方案

问题描述:
SpringBoot项目启动时,控制台出现“java.sql.SQLIntegrityConstraintViolationException”的报错;

问题分析:
Integrity Constraint (完整性约束)
违反违反唯一约束条件,我去看测试库的数据时,发现插入数据具有唯一约束条件的列值有重复。

问题解决:
去掉重复列数据信息,就可以正常编译运行了。

猜你喜欢

转载自blog.csdn.net/weixin_39548940/article/details/100573127
今日推荐