SpringBoot 配置热部署详解编程语言
2023-06-13 09:20:41 时间
做个记录,以免忘记:
1. 在 pom.xml 文件中的 dependencies 标签以内添加组件 devtools,具体内容如下:
1 !-- SpringBoot 热部署组件 devtools -- 2 dependency 3 groupId org.springframework.boot /groupId 4 artifactId spring-boot-devtools /artifactId 5 scope provided /scope 6 optional true /optional 7 /dependency
2. plugins 标签以内添加组件 maven-plugin,具体内容如下:
1 plugin 2 groupId org.springframework.boot /groupId 3 artifactId spring-boot-maven-plugin /artifactId 4 configuration 5 fork true /fork 6 /configuration 7 /plugin
然后就可以不用手动重新启动服务了,修改代码之后它会自动重启。
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/13964.html
cjavaxml相关文章
- springboot的自动化配置是什么_spring三种配置方式
- SpringBoot框架理解[通俗易懂]
- Spring学习笔记(二十七)——springboot集成MyBatis-Plus学习总结
- Springboot基于前端和后端验证码的实现和校验
- springboot上传文件大小配置
- IntelliJ IDEA最新版配置SpringBoot热部署遇到的坑
- springboot事物oracle,SpringBoot 事务管理
- 这个牛逼了,基于(SpringBoot+VUE)实现的自定义拖拽式智能大屏
- springboot idea 热部署配置
- SpringBoot中如何加载远程配置
- SpringBoot-Jar包分离
- MyBatis-Plus 快速开始及详测 SpringBoot 集成Mybatis-Plus
- springBoot整合Mybatis-Plus需要的依赖_springboot中文手册
- SpringBoot日志配置详情
- SpringBoot自动装配原理
- 理论:第五章:Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的
- SpringBoot自动装配原理分析,手写starter组件
- Springboot基础知识汇总
- 阿里出品!SpringBoot应用自动化部署神器,IDEA版Jenkins?
- SpringMVC和Springboot的区别详解编程语言
- springboot中配置tomcat的access log详解编程语言
- springboot Could not parse multipart servlet request详解编程语言
- Springboot多数据源配置详解编程语言