I have recently begun to have problems compiling using IntelliJ IDEA 5.1.1. I have searched these forums and have only seen this problem referenced with long class names and/or when using annotations. We are using neither and I do not see this problem the very first time I compile, usually it is the second or third time I compile.
When I try to compile my code, I get the following type of errors:
Error: Bad class file format: 93
Error: Bad class file format: 78
Error: Bad class file format: 157
I get anywhere from about 1 to 6 of these errors and the numbers at the end do not appear to be consistent.
Usually, I do not see this error the first time I compile after restarting IntelliJ. I don't think I've been able to compile more that three times in a row without hitting this error though.
I can successfully compile the code (using ant) outside of IntelliJ, however that defeats the purpose of having a great IDE.
This problem is not limited to one codebase or one IntelliJ project; I get this error in multiple codebases and projects. As you can imagine, it is very frustrating and time consuming to keep restarting IntelliJ as I need to compile.
Thanks for any help and feedback!