zoukankan      html  css  js  c++  java
  • spring boot devtools热部署

    问题1: Springloaded 在springboot2的maven的pom.xml 无法找到

    解决方法:在idea通过View->Tool Windows->Maven Projects  运行一下maven命令 mvn install

    问题2:spring boot spring-boot-devtools 在intellij idea 热部署

    引入jar包

    <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    </dependency>

    解决方法:idea的File->Settings->build,execution,deployment->Compiler 选中Build project automatically,然后File->Settings-->keymap 在搜索栏中输入maintenance 查看快捷键 

           勾选上:ompiler.automake.allow.when.app.running

                 1、ctl + shift + option + / (苹果) ctrl+alt+shift+/(window)

                 2、registry

                 3、compiler.automake.allow.when.app.running 勾选

    参考地址:https://www.cnblogs.com/shenlanzhizun/p/8027238.html 

  • 相关阅读:
    记账本开发第一天-补
    20200418-补
    20200411-补
    20200404-补
    20200328-补
    暴力解N皇后
    nN皇后递归
    Hanoi汉诺塔非递归栈解
    Hanoi汉诺塔递归
    JMMjmm模型
  • 原文地址:https://www.cnblogs.com/yldIndex/p/8463971.html
Copyright © 2011-2022 走看看