我们在利用IntelliJ IDEA开辟springboot项目时,每次点窜都需要重启IntelliJ IDEA,很是的麻烦,影响开辟的效率,那么IntelliJ IDEA怎么热摆设springboot项目呢,下面本文就介绍一下。
东西/原料
- 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>
如图所示。
- 2
然后点击IntelliJ IDEA左上角的“file”,如图所示。
- 3
然后选择下拉菜单中的“settings...”,进入idea的系统功能设置,如图所示。
- 4
进入IntelliJ IDEA的settings功能之后,选择左侧菜单的“Build,Execution,Deployment”,如图所示。
- 5
然后选择此中的“Compiler”,然后把右面的“Build project automatically”前面的复选框勾选,如图所示。
- 6
然后利用快捷键“Ctrl+Shift+A”,搜刮“Registry”,如图所示。
- 7
然后把如图所示的key进行勾选就可以了,如图所示。
- 8
然后需要重启IntelliJ IDEA,不然可能不生效,以上就是IntelliJ IDEA怎么热启动springboot项目标方式介绍,但愿可以帮到大师。
来源:百闻(微信/QQ号:9397569),转载请保留出处和链接!
本文链接:https://www.ibaiwen.com/web/279270.html
- 上一篇: win8系统如何修改系统用户账户头像
- 下一篇: 目录生成电脑操作(中文版)
猜你喜欢
-
监管人员是做什么的(What Regulatory Officer Do)?
-
什么是低度肿瘤(Low-Grade Neoplasm)?
-
面板生成器是做什么的(What Panel Builder Do)?
-
什么是浆液性乳头状腺癌(Serous Papillary Adenocarcinoma)?
-
什么是呼叫中心工作(Call Center Job)?
-
什么是种子疣(What Seed Warts)?
-
念珠菌病有哪些不同的治疗方法(Different Types of Candidiasis Treatment)?
-
事务协调器是做什么的(What Transaction Coordinator Do)?
-
什么是定量免疫球蛋白(Quantitative Immunoglobulin)?
-
我如何成为人才获取专家(Become a Talent Acquisition Specialist)?
- 热门文章
-
WB蒙特利尔(WB Montreal)——欧美十大最差视频游戏开发商
迅猛龙(Velociraptor)——欧美史前十大死亡动物
什么是果酱猫(What Marmalade Cats)?
神奇蜘蛛侠2(The Amazing Spider-Man 2)——欧美最佳蜘蛛侠电影
faceu激萌怎么把瘦脸开到最大
希瑟(Heather)——欧美十大最佳柯南灰歌
奥兹奥斯本(Ozzy Osbourne)——欧美十大高估歌手
二人梭哈
什么是小脑前下动脉(Anterior Inferior Cerebellar Artery)?
我应该知道康涅狄格州的什么(What Should I Know About Connecticut)?
- 热评文章
- 最新评论
-
- 最近访客
-
- 站点信息
-
- 文章总数:261580
- 页面总数:9
- 分类总数:1
- 标签总数:0
- 评论总数:0
- 浏览总数:74382