我导致这个错误是因为直接从maven库中复制粘贴了
。上网重下一个即可
jdbc连接mysql数据库常见问题,参考:https://blog.csdn.net/hurtcat/article/details/82150976