这个警告是什么意思?我编译了我的 java 程序,并在 UI 中发现了此警告,它是否必须处理 JVM。
Some code changes cannot be hot swapped into a running virtual machine, such as changing method names or introducing errors into running code.
The current target virtual machine from launch was unable to replace the running code with the code in the workspace. It is safe to continue running the application, but you may notice discrepancies when debugging this application.
Reason:
Hot code replace failed - Scheme change not implemented.
最佳答案
这意味着您需要重新启动您的应用程序;热代码替换(您对代码的更改)失败。使用 Java Platform Debugger Architecture 运行代码无法进行某些更改(您的消息指出了两种可能的此类更改,更改方法名称或在运行代码中引入错误)。
关于java - 我尝试在java中运行我的程序并发现这个错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32937180/