Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax;

 

一、发现问题

Caused by: com.mysql.jdbc.exceptions.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 '

 

二、问题解决

sql 语句在mapper.xml拼接错了,我当时是多了一个逗号

posted @ 2018-04-03 10:03  我是小菜啊1  阅读(210)  评论(0编辑  收藏  举报