解决Resin中In-place class redefinition (HotSwap) is not available的问题
直接运行Resin目录下的httpd.exe来启动Resin的话可能会看到启动信息里有这样一句:
In-place class redefinition (HotSwap) is not available. In-place class reloading during development requires a compatible JDK and -Xdebug.
解决方案:
新建一个快捷方式,指向httpd.exe,编辑这个快捷方式的属性,在启动目标框内给httpd.exe后面加个启动参数“-Xdebug”,这样通过这个快捷方式启动Resin的时候就会看到问题已经解决了:In-place class redefinition (HotSwap) is available.
关键词:
HotSwap(热切换)
本文介绍了解决Resin服务器中出现的In-placeclassredefinition(HotSwap)isnotavailable问题的方法。通过为httpd.exe创建快捷方式并在其启动参数中加入-Xdebug,可以启用热更新功能。
284

被折叠的 条评论
为什么被折叠?



