总报这个错误,求教老师
来源:13-3 mapper开发及自测接口代码_x264

慕沐8009292
2020-06-18
“message”: “nested exception is org.apache.ibatis.exceptions.PersistenceException: \r\n### Error querying database. Cause: java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jbdc:mysql://localhost:3306/course?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false\r\n### The error may exist in file [D:\ziliao\1-11章\AutoTest\Chapter13\target\classes\mapper\mysql.xml]\r\n### The error may involve com.course.login\r\n### The error occurred while executing a query\r\n### Cause: java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jbdc:mysql://localhost:3306/course?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&useSSL=false”,
1回答
-
你这个报错不全,我只能猜测了。 第一是你有中文路径,先修改一下看看。 第二是你的数据库看看有没有正常启动。 第三就是你查询的时候写的那个id在xml文件中是不是存在。 挨个排查一下看看
012020-06-19
相似问题