报错信息如下:java.sql.SQLSyntaxErrorException: 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 7] with root cause
The error may involve defaultParameterMap
The error occurred while setting parameters
这是一个相当恶心的报错。省略找问题的过程~最后得出答案:
这儿TM不能有空格..不得不说这真是个非常诡异的报错,重复几次build之后报错已经不能复现了。。。我在想是不是直接重启IDEA问题就会消失。。尤其是这种莫名其妙的问题。不管怎么样,还是要养成良好的编码习惯。