Today I was struggling to get a Tomcat server to launch. I had performed a heavy update to the project and even though apparently everything was OK, I kept getting an InvalidClassException in the initNonProxy method of ObjectStreamClass.
I rebuilt the project (maven eclipse), refreshed it, cleaned it, nothing seemed to work.
Finally, I deleted Tomcat work directory and everything became fine again.
The Tomcat work directory is located in the .metadata\.plugins\org.eclipse.wst.server.core directory of the workspace, I just deleted a directory which name started with tmp (in my case, it was tmp3). After launching Tomcat again from Eclipse, the directory is recreated, but no leftovers from previous executions get in the middle.
No comments:
Post a Comment