IntelliJ IDEA怎么热启动springboot项目
1、首先,需要在springboot项目的pom.xml文件中引入相关的依赖,maven依赖为:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional></dependency>和插件支持:<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <fork>true</fork> </configuration> </plugin> </plugins></build>如图所示。

3、然后选择下拉菜单中的“settings...”,进入idea的系统功能设置,如图所示。

5、然后选择其中的“Compiler”,然后把右面的“Build project automatically”前面的复选框勾选,如图所示。

7、然后把如图所示的key进行勾选就可以了,如图所示。

8、然后需要重启IntelliJ IDEA,否则可能不生效,以上就是IntelliJ IDEA怎么热启动springboot项目的方法介绍,希望可以帮到大家。
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:29
阅读量:49
阅读量:78
阅读量:27
阅读量:39