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 

  • 相关阅读:
    JAVA反射机制
    Android插件化
    MFC项目的建立
    [ACM]躲猫猫
    [ACM]某一天的n天后是几年几月几日
    [ACM]括号配对问题
    开发中好用的网站
    TCP与UDP(实时通讯)
    NSSet基本使用
    NSPredicate(正则表达式)
  • 原文地址:https://www.cnblogs.com/yldIndex/p/8463971.html
Copyright © 2011-2022 走看看