SpringBoot配置热部署
2024-10-21 04:25:25
1.spring-boot-devtools
在pom中直接引入依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
2.设置以下两项
1) “File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,选中打勾 “Build project automatically” 。
2) 组合键:“Shift+Ctrl+Alt+/” ,选择 “Registry” ,选中打勾 “compiler.automake.allow.when.app.running”
大功告成!
最新文章
- C#与C++通信
- C#高级编程笔记 Day 6, 2016年9月 14日 (泛型)
- 页面引入flash
- 实验:传输层:TCP协议
- VLOOKUP 函数
- 添加hive默认配置hiverc
- 多路选择器(multiplexer)简介
- android模拟器打开时比较慢,Run As就找不到模拟器
- ie编程半天的学习总结
- 比较ArrayList和LinkedList
- 使用微信 SDK 上传图片到七牛
- github上一些觉得对自己工作有用的项目收集
- 《JS权威指南学习总结--第三章类型、值和变量》
- pycharm 输入法光标跟随
- Python函数——装饰器
- ElasticSearch入门 第六篇:复合数据类型——数组,对象和嵌套
- cocoapod引入FLEX,debug模式正常,Release报错library not found for -lXXX
- 内核atom机制
- 主动学习(Active Learning)
- 可视化库-seaborn-单变量绘图(第五天)