Spring Boot热部署
在SpringBoot中启用热部署非常简单,因为SpringBoot提供了一个非常方便的工具spring-boot-devtools,只需把这个工具引入到项目里即可。
1、在pom.xml里添加依赖
2、在Intellij里启动自动构建项目
3、Ctrl+Shift+A,搜索Registry,找到compiler.automake.allow.when.app.running勾选。
4、实现页面热部署
作者:howard2005
链接:https://blog.csdn.net/howard2005/article/details/79346528
来源:CSDN
著作权归作者所有,转载请联系作者获得授权,切勿私自转载。