1.运行 “企业进销存管理系统” 源码
2.
3.本地mysql是8.0.15,所以项目导入mysql-connector-java-8.0.15.jar,删除原来的mysql_connector_java_5.1.36_bin.jar
运行后有报错
1.
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
2. JDBC中The server time zone value '???ú±ê×??±??' is ............. 的错误
解决方案.修改DAO层,DAO.java
原来是
protected static String dbClassName = "com.mysql.jdbc.Driver";// MySQL数据