Liubsyy / HotSecondsIDEA

HotSeconds是一款Java远程热部署的插件,可实现秒级一键化热更新。插件分为HotSecondsClient(IDEA热部署插件)和HotSecondsServer(服务端javaagent热更新插件),理论上来说可以热更新任何文件(java/xml/html/css/js等),也支持常用框架(Spring,MyBatis)的热更新,可以节省大量的传统部署java项目的时间。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用 java -jar 命令启动的工程能实现热部署吗?

GmerEmmer opened this issue · comments

commented

commented

48ee9904f4f04d18f7ec0491f0f6d8e
我修改显示成功了,只是修改了代码,但是服务端并没有修改,有一条报错信息
27bdd56ba4ec31622275deff29ab3c2
这是什么原因?

你用了web容器吗?你断点看看Class.forName("org.springframework.core.io.Resource").getClassLoader()是哪个

commented

使用了 springboot,将类加载器修改为 LaunchedURLClassLoader 成功了。