由于JDK版本自动升级,导致数据库驱动报错:
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
需要重新下载最新的数据区驱动,下载地址:https://dev.mysql.com/downloads/file/?id=498587
相关更新驱动的过程参考:https://blog.csdn.net/Teamo_mc/article/details/109283018