I have a problem. I start Tomcat in JPDA mode, and after that I execute:
mvn tomcat:stop tomcat:undeploy war:inplace tomcat:inplace
After which I connect to remote Java app from Eclipse. All works ok, I'm able to change some code and hot swap works.
When I add method/change parameters I redeploy the app:
mvn tomcat:stop tomcat:undeploy war:inplace tomcat:inplace
After which when I reconnect to the remote java app again, only now when I change any file (for example, placing a space or removing space, save) I get an error that code cannot been swapped out - "Hot Code Replace Failed - add method not implemented"
.
What is the problem?
Thanks.