com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
com.mysql.jdbc.CommunicationsException
MESSAGE: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
** BEGIN NESTED EXCEPTION **
com.mysql.jdbc.CommunicationsException
MESSAGE: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.io.EOFException
STACKTRACE:
我的程序出以上问题原因是: 数据库连接重写了一篇,service 里面的SQL语句错误,把jar包换成了mysql-connector-java-5.1.18-bin.jar 总结一点就是程序的错误
有这种问题错误的并且解决的可以留言在下面,让后来者更多了解