I have a problem. I start Tomcat in JPDA mode and after that I do:
mvn tomcat:stop tomcat:undeploy war:inplace tomcat:inplace
Then I connect to the remote Java application from Eclipse. Everything works fine, I can change the code and work with hot swap.
When I add method / change parameters, I redeploy the application:
mvn tomcat:stop tomcat:undeploy war:inplace tomcat:inplace
After which, when I reconnect to a remote java application, only now, when I change any file (for example, taking up space or deleting a space, save), I get an error message that the code cannot be replaced - " "Hot Code Replace Failed - add method not implemented" .
What is the problem?
Thanks.
source share