报错:Driver com.mysql.jdbc.Driver claims to not accept jdbcUrl
The error is the configuration file path error, focus on checking the url path
The URL of mysql8.x version is
Note: the url path can be double quoted
spring:
datasource:
username: root
password: 123456
url: jdbc:mysql://localhost:3306/student?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf8
driver-class-name: com.mysql.cj.jdbc.Driver