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
注意一下mysql的版本问题。
https://www.cnblogs.com/caotao0918/p/12039131.html
错误贴的不全啊
SQL贴上来