老师, 我也遇到这个问题了,使用你提供的源码中的pom后,程序能启动,点击“登录”,报错:
Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support
于是,我在JDBC 的连接 url 部分加上了serverTimezone=UTC,点击“登录”报错:com.alibaba.druid.pool.DruidDataSource : create connection error
java.sql.SQLException: validateConnection false
于是之后我降低mysql版本
mysql
mysql-connector-java
5.1.41
这之后,本机跑没有问题,于是我将程序打包发送linux,运行,又出现了这个同学提出的那个问题,***************************
APPLICATION FAILED TO START
***************************
。