tags:

views:

368

answers:

2

"Hot Code Replace Failed - add method not implemented". I get this error message every time I change something in my test class (and save it). Can't figure out what it means. Can somebody help?

+1  A: 

See this thread:

This means you changed a class while it was debugging an application and it could not update the class for the application while it was running.
The error suggests you may be running an older JVM, i.e. pre-1.4.2 but this error can occur with any JVM if the change is incompatible with the previous version of the class.

Check carefully what JRE you are using in your debug session.

Also check you are deploying classes compiled with the debug attribute set. (see this thread)

Finally, as indicated here:

did you switch "Project->Build Automatically" off?
Hot code replacement works (only?) if automatic build is switched on...

alt text

VonC
+2  A: 

Possibly, you have a test which is still running (in debug mode). Try finishing all tests (you can see them in the debug view: window->show view->debug) and try again...

Fortega