SpringBoot热部署
来源:互联网 发布:火龙果软件 杨秀峰 编辑:程序博客网 时间:2024/06/04 18:00
首先引入依赖:
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin </artifactId> <dependencies> <!--springloaded hot deploy --> <dependency> <groupId>org.springframework</groupId> <artifactId>springloaded</artifactId> <version>1.2.4.RELEASE</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>repackage</goal> </goals> <configuration> <classifier>exec</classifier> </configuration> </execution> </executions></plugin>
运行方法:
1.使用spring-boot:run
2.把spring-loader-1.2.4.RELEASE.jar下载下来,放到项目的lib目录中,然后把IDEA的run参数里VM参数设置为:
-javaagent:.\lib\springloaded-1.2.4.RELEASE.jar -noverify
然后启动就可以了,这样在run as的时候,也能进行热部署
阅读全文
0 0
- springboot-热部署
- SpringBoot热部署
- springboot实现热部署
- springboot热部署
- SpringBoot热部署配置
- SpringBoot+devtools 热部署
- Springboot(热部署)
- SpringBoot热部署
- SpringBoot+SpringLoaded热部署
- SpringBoot实现热部署
- springboot热部署配置
- SpringBoot-热部署-maven
- springboot热部署
- SpringBoot + devtools热部署
- SpringBoot-02热部署
- Springboot 热部署
- SpringBoot 热部署方式
- springboot 热部署
- HTML5音频和视频的处理
- 使用FastDFS搭建图片服务器单实例篇
- 正则表达式用法基础及应用实例
- Codeforces 725D Contest Balloons
- jQuery中的事件
- SpringBoot热部署
- hdu6201transaction transaction transaction
- Redis单机版安装
- 深入理解JAVA虚拟机读书笔记----虚拟机类加载机制
- 用time实现心跳检查
- 基于ZooKeeper的分布式Session实现
- 最全Pycharm教程(7)——虚拟机VM的配置
- 【学习笔记】百度前端面经知识点
- jsp中<%%>和<%!%>区别