zoukankan      html  css  js  c++  java
  • 热部署Devtools

    热部署Devtools

    1.Adding devtools to your project

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <scope>runtime</scope>
        <optional>true</optional>
    </dependency>
    

    2.Adding plugin to your pom.xml

    下面配置粘贴进聚合父类总工程的pom.xml里

    <build>
    
        <fileName>你自己的工程名字<fileName>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <fork>true</fork>
                    <addResources>true</addResources>
                </configuration>
            </plugin>
        </plugins>
    </build>
    

    3.Enabling automatic build

    4. Update the value of

    5.重启idea

  • 相关阅读:
    统计字符
    两军交锋
    FatMouse' Trade
    A + B Problem II
    Number Sequence
    Max Sum
    类的设计
    类与对象
    面向对象思想
    第一个OC程序
  • 原文地址:https://www.cnblogs.com/sunyanblog/p/12786124.html
Copyright © 2011-2022 走看看