Thursday, February 17, 2011

java.lang.ClassFormatError: Truncated class file

Recently I kept getting this error when I copied over my .class files onto a remote server and attempted to run my java class on the server. I was using WinSCP to copy the files onto the server and the copy kept getting corrupted when I sent it across to the server. I shutdown WinSCP and started the process again which solved the problem.

No comments:

Post a Comment