cannot be hot swapped into a running virtal machine怎么理解翻译

来源:百度知道 编辑:UC知道 时间:2024/05/16 09:05:12
“some code changes cannot be hot swapped into a running virtal machine,such as changing method names or introducing errors into running code.” 这句话中得 some code changes cannot be hot swapped into a running virtal machine怎么理解翻译

不能热交换到运行虚拟机,一些代码变化不能热交换到运行虚拟机,如更改名称或介绍的方法错误运行代码。
解决方法:增加、删除类文件或者在一个类中增加、删除方法时,是不能够热部署到服务上的。这时候需要停止服务器(Tomcat等等)重新部署后再启动,就不会出现上面的提示了。

不能热交换到运行虚拟机

一些代码变化不能热交换到运行虚拟机,如更改名称或介绍的方法错误运行代码。