<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <!--配置热更新第二步骤 ctrl+shift+A 搜索registry 找到 c开头的 alloe.when.runnning进行打钩compiler.automake.allow.when.app.running 热更新快捷键 ctrl shift f9 --> <!--添加热更新--> <configuration> <executable>true</executable> <fork>true</fork> <excludes> <exclude> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </exclude> </excludes> </configuration> <!----> </plugin> </plugins> </build>
SpringBoot如何实现代码的热更新--无需重启项目
最新推荐文章于 2024-07-30 14:30:36 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)