I'm debugging my application deployed on a remote server and I get this error while building the project when the server is running.
Compilation completed successfully in 7s 12ms
Hot Swap failed
add method not implemented;
Operation not supported by VM
It is either - "add method not implemented" or "hierarchy change not implemented" or "schema change not implemented".
I initially added new method, new inner class, later reverted these changes as I found another simpler solution for my problem.
While making the code changes, I repeatedly test by rebuilding the project while the remote server is running and end up with any of the above errors.
I tried all options I knew and what google gave me - Hot swap properties changes, Compiler JDK version changes, try in duplicate versions of the project and server, but nothing seems to be a permanent solution.
I need to build while the server is running otherwise the changes do not reflect.
I'm not sure what I'm missing here, any help is appreciated.