问答详情
源自:1-11 devtools 自动重启实现

我用的idea2022 ,无法热启动。百度了一下方法,不知道有没有更优的简洁的了。

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <version>2.2.5.RELEASE</version>
            <executions>
                <execution>
                    <goals>
                        <goal>repackage</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <fork>true</fork>
                <addResources>true</addResources>
            </configuration>
        </plugin>
    </plugins>
</build>


提问者:慕神0090191 2022-06-15 17:31

个回答

  • 慕梦前来
    2022-09-21 19:51:54

    下载一些第三方的插件安装一下吧