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 'table' at line 1
在数据库新建了一张表, 表名为table, 结果一直报错, 百度是sql语句错了, 简单的select * from table;
结果一直报错, 吧table名字改掉就可以正常运行, table是数据库的关键字!