Loading class appears in JDBC registration driver` com.mysql.jdbc . driver ‘. This is degraded problem:
When registering drivers in Java and using jdk8 version, the above problems will appear: loading
com.mysql.jdbc.Driver。 This is not recommended. The new driver class is
com.mysql.cj.jdbc.Dirver. drivers are registered automatically through SPI, and usually do not need to manually load the driver classes.
The implication is to register the class package name
I would like to see more detailed principles and solutions to this problem： https://blog.csdn.net/weixin_42323802/article/details/82500458