为了账号安全,请及时绑定邮箱和手机立即绑定

注册不成功

注册失败!原因为{"timestamp":"2020-03-08T03:35:03.804+0000","status":500,"error":"Internal Server Error","message":"\r\n### Error updating database.  Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1\r\n### The error may involve com.miaoshaproject.dao.UserDOMapper.insertSelective-Inline\r\n### The error occurred while setting parameters\r\n### SQL: insert into user_info\r\n### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1\n; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1","path":"/user/register"}

说是数据库表名与关键字重合?没找到重合的地方,求解答


正在回答

3 回答

哪个地方错了


0 回复 有任何疑惑可以回复我~

问题解决,代码敲错了,

0 回复 有任何疑惑可以回复我~

删除之前已经生成好的mapper.xml文件,重新生成一次

1 回复 有任何疑惑可以回复我~
#1

qq_零下_5 提问者

还是不行,一样的错
2020-03-09 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

注册不成功

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信