What does "Hot Swap error" with IntelliJ (in Java) mean?

Niko picture Niko · Jul 24, 2014 · Viewed 28.7k times · Source

I have no idea what a hot swap is and for the life of me cannot construct a google search that will find what it means in the context of my program. I was editing my class, the same way I do all the time, and when I went to run it I all of a sudden got a

Hot Swap failed: myClassName: schema not implemented

error.

Can anyone explain this to me in Layman's terms?

Answer

Ricky Mutschlechner picture Ricky Mutschlechner · Jul 24, 2014

You are attempting to change your source code while the program (or IntelliJ's debugger) is still running. This is what the HotSwap feature does according to IntelliJ's KB.

Please make sure your program and/or debugger is stopped before re-launching the program and the issue should be resolved.