Loading class appears in JDBC registration driver` com.mysql.jdbc . driver ‘. This is degraded problem:

Time:2020-10-22

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: loadingcom.mysql.jdbc.Driver。 This is not recommended. The new driver class iscom.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 namecom.mysql.jdbc.DriverChange tocom.mysql.cj.jdbc.DirverYou can..

eg:

 

I would like to see more detailed principles and solutions to this problemhttps://blog.csdn.net/weixin_42323802/article/details/82500458

Recommended Today

Layout of angular material (2): layout container

Layout container Layout and container Using thelayoutDirective to specify the layout direction for its child elements: arrange horizontally(layout=”row”)Or vertically(layout=”column”)。 Note that if thelayoutInstruction has no value, thenrowIs the default layout direction. row: items arranged horizontally.max-height = 100%andmax-widthIs the width of the item in the container. column: items arranged vertically.max-width = 100%andmax-heightIs the height of the […]