博客
关于我
【SpringBoot】如何配置热部署
阅读量:588 次
发布时间:2019-03-12

本文共 563 字,大约阅读时间需要 1 分钟。

在pom.xml文件中添加Spring Boot热部署配置步骤如下做:

进入项目根目录的POM.xml文件,添加以下内容:

org.springframework.boot
spring-boot-devtools

保存后,为了确保配置有效,请进行以下操作:

  • 登录IntelliJ IDEA
  • 选择File -> Settings -> Build, Execution, Deployment -> Compiler3.勾选Build project automatically
  • 复制以下代码并添加到POM.xml中:
  • The following line is added to the POM.xml by the automatic-real-deployment
    1. 重新构建项目,确保配置生效
    2. 此外,例如在修改控制器时,可以添加以下配置:

      在build.gradle中添加:

      buildTools {    run Ejecución {        Idea главные класс路径    }    idea {        modifier regional reloading = true    }}

    转载地址:http://sfkxz.baihongyu.com/

    你可能感兴趣的文章
    VS中 fatal error LNK1123: 转换到 COFF 期间失败 的解决方法
    查看>>
    ant design pro v5去掉右边content区域的水印
    查看>>
    JavaScript——使用iterator遍历迭代map,set集合元素
    查看>>
    Course Schedule II
    查看>>
    C#中文转换成拼音
    查看>>
    C++错误笔记
    查看>>
    SpringBoot使用RedisTemplate简单操作Redis的五种数据类型
    查看>>
    国标GB28181协议视频推流平台EasyGBD在Linux下编译报“UINT64_C在此作用领域中尚未声明”错误
    查看>>
    qt中转到槽后如何取消信号与槽关联
    查看>>
    qt问题记录-spin box与double spin box
    查看>>
    移动端事件
    查看>>
    spring-day01
    查看>>
    spring的值注入与组件扫描
    查看>>
    C#跨窗体程序调用方法的具体操作
    查看>>
    抖音发布黄金时间段,抖音上热门最佳时间
    查看>>
    我的图床~
    查看>>
    Thymeleaf sec:authorize 标签不生效
    查看>>
    Iterable与Iterator
    查看>>
    关于WebView当前地址问题的疑惑
    查看>>
    Python机器学习(九十二)Pandas 统计
    查看>>