在idea里面如何对spring boot项目进行热部署
来源:互联网 发布:sai mac打不开 编辑:程序博客网 时间:2024/05/17 04:42
1 打开idea,用快捷键Ctrl+shift+A.搜索make project automatically.选中,显示相应的设置,勾选红色箭头的选项
2 在Ctrl+Shift+A,搜索register,找到并勾选compiler.automake.allow.when.app.running
3关闭idea,然后再启动
4.添加spring boot的热部署依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency>
5开启热部署
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <fork>true</fork> </configuration> </plugin> </plugins> </build>6 谷歌浏览器禁用缓存
F12---->network--->勾选disable catche
阅读全文
0 0
- 在idea里面如何对spring boot项目进行热部署
- spring boot项目在idea的热部署方法
- idea Spring boot 热部署
- idea spring-boot 热部署
- 【Spring Boot】——利用Idea进行热部署
- Spring-boot进行热部署
- Spring boot 在Intellij IDEA 中的热部署
- spring boot 在idea中实现热部署
- spring-boot-devtools在Idea中热部署方法
- Spring Boot 在Idea中热部署方法
- Spring boot 在Intellij IDEA 中的热部署
- spring boot项目热部署
- idea+spring-boot+devtools热部署
- Spring Boot + Intellij IDEA 热部署
- idea + spring-boot-devtools启动热部署
- Spring Boot热部署(Gradle+IDEA)
- 使用Intellij IDEA 开发 Spring-boot项目 热部署,自动部署
- Intellij IDEA 使用jrebel运行spring-boot并实现自动编译进行热部署
- 软考错题合集之17-05-PM
- js向服务器发送请求,获取服务器时间
- Java静态资源拦截器配置
- [NOIP2017 考前胡写]一年以来犯的各种无脑错误与经验总结
- 事务,什么是事务,为何用事务?
- 在idea里面如何对spring boot项目进行热部署
- 【期望DP】BZOJ1419[Red is good]题解
- 条款01~02
- Qt中QString和int,char等相互转换
- LYOI 78 小澳的葫芦
- Excel批量删除空白行
- Segmentation fault(核心已转储)
- Golang 日期时间格式format()
- Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/dao]]