idea开发适配
springBoot热部署配置:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>true</optional> </dependency> <build> <finalName>springcloud2020</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <fork>true</fork> <addResources>true</addResources> </configuration> </plugin> </plugins> </build>
2. 在运行配置窗口,选择一条springboot的运行配置,然后点击上方的复制按钮进行复制副本
3. 复制完成之后,点击OK确定按钮,然后在屏幕右下角可以看到一个弹框提示
4. 点击弹框右下角的向下的小箭头,展开弹框详情信息,然后点击Show run configurations in Run Dashboard
原文:https://www.cnblogs.com/dw3306/p/12576604.html