Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'username

本文记录了一次测试控制层时遇到的问题,即因URL中多余的%20导致的错误,并给出了正确的URL示例。
16:10:05.876 ERROR 1 --- [ XNIO-3 task-49] o.h.core.exception.BaseExceptionHandler : nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: io.choerodon.mybatis.MapperException: not found table for mapper class: org.hzero.iam.infra.mapper.IamUserMapper ### Cause: io.choerodon.mybatis.MapperException: not found table for mapper class: org.hzero.iam.infra.mapper.IamUserMapper org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: io.choerodon.mybatis.MapperException: not found table for mapper class: org.hzero.iam.infra.mapper.IamUserMapper ### Cause: io.choerodon.mybatis.MapperException: not found table for mapper class: org.hzero.iam.infra.mapper.IamUserMapper at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) ~[mybatis-spring-1.3.1.jar!/:1.3.1] at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) ~[mybatis-spring-1.3.1.jar!/:1.3.1] at com.sun.proxy.$Proxy191.delete(Unknown Source) ~[na:na] at org.mybatis.spring.SqlSessionTemplate.delete(SqlSessionTemplate.java:310) ~[mybatis-spring-1.3.1.jar!/:1.3.1] at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:67) ~[mybatis-3.4.2.jar!/:3.4.2] at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59) ~[mybatis-3.4.2.jar!/:3.4.2] at com.sun.proxy.$Proxy221.deleteFileByNameAndUuid(Unknown Source) ~[na:na] at org.hzero.iam.api.controller.v1.HiamUserPublicController.deleteFileOne(HiamUserPublicController.java:481) ~[classes!/:1.2.1.RELEASE]
最新发布
09-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序员西柚柚

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值