Caused by java io EOFException Can not read response from
Posted odejsjhshw
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Caused by java io EOFException Can not read response from相关的知识,希望对你有一定的参考价值。
1、错误描述
The last packet successfully received from the server was 76,997 milliseconds ago. The last packet sent successfully to the server was 78,995
milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1117)
at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2144)
at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1900)
at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3401)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:483)
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3096)
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2266)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2687)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2318)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)
at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
at $java.sql.Wrapper$$EnhancerByProxool$$8d43c634.executeQuery(<generated>)
at base.dao.impl.BaseDaoImpl$2.execute(BaseDaoImpl.java:185)
at base.dao.impl.BaseDaoImpl$2.execute(BaseDaoImpl.java:1)
at org.hibernate.jdbc.WorkExecutor.executeReturningWork(WorkExecutor.java:72)
at org.hibernate.internal.SessionImpl$3.accept(SessionImpl.java:2052)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.coordinateWork(JdbcCoordinatorImpl.java:313)
... 82 more
Caused by: java.io.EOFException: Can not read response from server. Expected to read 5 bytes, read 3 bytes before connection was unexpectedly
lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3017)
at com.mysql.jdbc.MysqlIO.nextRowFast(MysqlIO.java:2125)
... 102 more
2、错误原因
错误提示:不能从服务器获取响应,即因为某种原因导致数据库服务器连接失败
3、解决办法
检查数据库连接情况,确保正常连接
再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow
以上是关于Caused by java io EOFException Can not read response from的主要内容,如果未能解决你的问题,请参考以下文章
Caused by java io EOFException Can not read response from
解决Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory
Jenkins启动报 Caused by: java.io.IOException: 结构需要清理
Caused by: java.io.IOException: 你的主机中的软件中止了一个已建立的连接。
Caused by: java.io.IOException: 您的主机中的软件中止了一个已建立的连接。
Caused by: java.io.FileNotFoundException: class path resource [com/cxy/springboot/mapping/] cannot b