首先jdbc配置:
jdbc.user=root
jdbc.password=123456
jdbc.url=jdbc:mysql://localhost/atcrowdfunding_test?useUnicode=true&characterEncoding=UTF-8&userSSL=false&serverTimezone=GMT%2B8
jdbc.driver=com.mysql.cj.jdbc.Driver
在web或者父工程项目下的pom.xml添加或更改依赖:
mysql
mysql-connector-java
8.0.21