When you debug your project today, there is a Java.io.IOException exception to start Tomcat.
The main error prompts are as follows:
Serious: IOException while loading persisted sessions:java.io.EOFException
Serious: Exception loading sessions from persistent storage
Reference Source: http://www.javaeye.com/topic/232130
Analysis: Eofexception represents a signal that unexpectedly arrives at the end of a file or stream at the end of the input process, resulting in a failure to fetch data from the session. The exception is the problem with Tomcat itself, because some of the active sessions were persisted (represented as temporary files) when Tomcat was last abnormally shut down, and during the reboot, Tomcat tried to recover the persisted data of the session but failed to read the result. This exception does not affect the use of the system.
Solution:
The Tomcat installation directory/work/catalina/localhost/yourprojectname/sessions.ser deleted. If the server is shut down properly, the file is automatically deleted.
Note: Yourprojectname is the name of the Web project you are currently working on.
Considering that everyone's Tomat working directory is different, it is recommended to find your Sessions.ser file in the "search" feature and just delete it. /yourprojectname/under the Sessions.ser can be.