Java IncompatibleClassChangeError
Definition and Usage
An IncompatibleClassChangeError happens when a class was changed and compiled again, but the code that uses it was not. For example, a method was changed from static to non-static, or a class was changed into an interface. It is an Error (a serious problem that a program should not try to catch), not an exception.
It does not happen when you compile all your code together. It usually means that two versions of a library (a .jar file with ready-made classes) are mixed. The fix is to compile all the code again, with the same versions.
Related Pages
Java Exceptions (try...catch) Tutorial
❮ Errors & Exceptions