使用阿里的druid包出现有The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
或者单纯使用jdbc提示No operations allowed after connection closed
说明连接太久没用已经被关闭,但是程序仍然在缓冲池里寻找连接
有可能是配置文件写错,或者jdbc驱动包问题