java.io.EOFException java.io.ObjectInputStream$PeekInputStream.readFully 错误

Tomcat 启动时

java.io.EOFException

at java.io.ObjectInputStream$PeekInputStream.readFully 错误

这 个错误 碰到好几次了,我的tomcat使用非常频繁,而且部署项目比较多,经常会出一些自己看不懂的问题, 今天解决了这个错误 at java.io.ObjectInputStream$PeekInputStream.readFully 错误这个错误的原因是: 当已有的项目部署到了Tomcat里面运行后,因为一些原因删除了项目中的部分文件,这是就会报这个错误 因为原先部署在Tomcat中的项目重新启动Tomcat时,Tomcat找不到以前的文件,所以会报错

解决办法:删除Tomcat下的Catalina和该项目,重新部署。

时间: 2024-10-11 22:46:03

java.io.EOFException java.io.ObjectInputStream$PeekInputStream.readFully 错误的相关文章

【转】Tomcat出现SEVERE: IOException while loading persisted sessions: java.io.EOFException java.io.EOFException问题的解决方案

[java] view plaincopy 错误代码如下: 严重: IOException while loading persisted sessions: java.io.EOFException java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2325) at java.io.ObjectInputStream$BlockDataInputS

java.io.IOException: java.io.EOFException: Unexpected end of input stream错误

报错现象: Diagnostic Messages for this Task:Error: java.io.IOException: java.io.EOFException: Unexpected end of input stream at org.apache.hadoop.hive.io.HiveIOExceptionHandlerChain.handleRecordReaderNextException(HiveIOExceptionHandlerChain.java:121) at

tomcat启动时报:IOException while loading persisted sessions: java.io.EOFException的解决方案

严重: IOException while loading persisted sessions: java.io.EOFExceptionjava.io.EOFException    at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2284)    at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInp

IOException while loading persisted sessions: java.io.EOFException

严重: IOException while loading persisted sessions: java.io.EOFExceptionjava.io.EOFException    at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2303)    at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInp

严重: IOException while loading persisted sessions: java.io.EOFException

java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750) at java.io.ObjectInputStream.readStreamHeader(ObjectInpu

tomcat启动报:严重: IOException while loading persisted sessions: java.io.EOFException

严重: IOException while loading persisted sessions: java.io.EOFException ................................... . .. org.apache.catalina.session.StandardManager start 严重: Exception loading sessions from persistent storage java.io.EOFException at java.io.O

storm supervisor启动报错java.lang.RuntimeException: java.io.EOFException

storm因机器断电或其他异常导致的supervisor意外终止,再次启动时报错: 1. 2013-09-24 09:15:44,361 INFO [main] daemon.supervisor (NO_SOURCE_FILE:invoke(0)) - Starting supervisor with id 74332654-8925-48a1-b67b-7eacaa52aeca at host hadoop02 2. 2013-09-24 09:15:45,246 ERROR [Thread

Java Scoket之java.io.EOFException解决方案

Java Scoket之java.io.EOFException解决方案 Socket接收数据的时候,常常会抛出java.io.EOFException异常,也没有明确的原因和提示,在网上搜搜,很多人都在问此问题,但是没有找到切实可行的办法.经过研究,问题解决了. 看到的异常堆栈信息如下: java.io.EOFException   at java.io.DataInputStream.readFully(DataInputStream.java:178)   at java.io.DataI

Caused by: java.io.EOFException: Can not read response from server.

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.ref