运行mybatis-plus的时候出现错误:
Error querying database. Cause: java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc:mysql:aws://localhost:3306
The error may exist in com/yupi/usercenter/mapper/UserMapper.java (best guess)
The error may involve com.yupi.usercenter.mapper.UserMapper.selectList
The error occurred while executing a query
Cause: java.lang.RuntimeException: Driver com.mysql.cj.jdbc.Driver claims to not accept jdbcUrl, jdbc:mysql:aws://localhost:3306
这个报错的url我是从下面这里复制的
下面图片中的url中赋复制的,就会出现报错
然后把这个url中的aws:去掉就能够正常运行了,希望能够帮到和我一样错误的同学