人人开源 renren-fast 项目使用java11启动报错

提问 未结 1 392
不是吧,就这?
悬赏:20积分
描述: 刚拉取renren-fast项目还是热乎的,执行sql脚本后,修改yml中的数据库链接配置,启动项目,发现启动不了出现如下错误,但是换成java8就没问题了,不知道是什么原因 [pre] 2022-01-09 18:23:27.837 ERROR 2012 --- [ main] com.alibaba.druid.pool.DruidDataSource : init datasource error, url: jdbc:mysql://192.168.56.111:3306/gulimall_admin?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. [/pre] [pre] Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure [/pre]
回帖