qq_零下_5
2020-03-08 11:38
注册失败!原因为{"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"}
说是数据库表名与关键字重合?没找到重合的地方,求解答
哪个地方错了
问题解决,代码敲错了,
删除之前已经生成好的mapper.xml文件,重新生成一次
SpringBoot构建电商基础秒杀项目
49020 学习 · 954 问题
相似问题