java.net.SocketException: Software caused connection abort: socket write error解决
这个异常(com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure Last packet sent to the server was X ms ago),是由于MySQL服务在长时间不连接之后断开了,断开之后的首次请求会抛出这个异常。那么既然是连接超时的问题,就要去MySQL...
原创
2013-07-22 14:20:57 ·
1996 阅读 ·
1 评论