Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communicatio
ns link failure
The last packet successfully received from the server was 1,346,406,065,021 mill
iseconds ago. The last packet sent successfully to the server was 0 millisecond
s ago.
您好,根据错误信息是您的通讯故障,我这边在网上查找了相关信息,Communications link failure 这样的错误一般发生在打开数据库连接后,等好久才进行数据库操作,导致mysql认为这个连接超时无效,解决的办法要么是提高mysql端的timeout 设置,要么是降低连接池这边的timeout值。您可根据自身使用的数据库在百度等搜索引擎查找相关解决方案。