Spring boot 启动报错-Reason Failed to determine a suitable driver class

# DataSource Config
spring.datasource.url = jdbc:mysql://localhost:3306/mp?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT&useSSL=false
spring.datasource.username = root
spring.datasource.password = 123456
spring.datasource.driver-class-name = com.mysql.cj.jdbc.Driver

上面是正确格式的数据库配置模板

这个问题是配置的格式不正确的问题。

你可能感兴趣的:(Springboot)