我使用JHipster构建了一个应用,该应用在本地运行良好。然后,我使用命令JHipster Heroku
将应用程序部署到了heroku。该应用程序通过以下日志条目停止启动:
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:
Property: driverclassname
Value: com.mysql.jdbc.Driver
Origin: "driverClassName" from property source "source"
Reason: Failed to load driver class com.mysql.jdbc.Driver in either of HikariConfig class loader or Thread context classloader
Action:
Update your application's configuration
很明显,该应用程序未连接到数据库,但是我该如何解决?