Failed to bind properties under ‘‘ to com.zaxxer.hikari.HikariDataSource: Property: driver-class

springboot 在连接 mysql 报的错,注意在 application.properties 中添加以下内容即可:

spring.datasource.driver-class-name =com.mysql.jdbc.Driver

 

你可能感兴趣的:(Failed to bind properties under ‘‘ to com.zaxxer.hikari.HikariDataSource: Property: driver-class)