在尝试部署应用程序(在本例中为MySQL)时,我遇到以下错误: ****************************************************** Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource: Value: com.mysql.cj.jdbc.Dri
这是我在控制台中得到的警告,我对这个警告感到困惑:This is deprecated.The new driverclass is `com.mysql.cj.jdbc.Driver'.The driver is automatically registered via the SPI and manual loading
of the drivercl
我还尝试了一个只包含数据的简单initializr项目--jpa和h2 但是我总是得到同样的错误 Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:
Value: org.postgresql.DriverReason: <
; nested exception is java.lang.RuntimeException: Failed to loaddriverclasscom.mysql.cj.jdbc.Driver; nested exception is java.lang.RuntimeException: Failed to loaddriverclasscom.mysql.cj.jdbc.Driver; nest
application.properties中指定了db设置:spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver启动项目时,控制台说:APPLICATION FAILED TO START
Failed to configure a DataSource: &