当前位置:网站首页>Solution of idea hot start failure
Solution of idea hot start failure
2022-06-27 00:44:00 【Helpless small yard farmer】
Hot start failure resolution
One : The Intranet environment solves the problem of hot start failure
When using eclipse When configuring hot start , Add... Directly jar And plug-ins , But use idea when , You need to modify the settings yourself .
** Be careful :** If you change a project , It is also possible that the hot start fails , Because idea Reset default settings , Just follow the following steps again .
1、 find Setting---->Compiler Set up ( You can also use shortcut keys :Ctrl+Alt+S), Check "Build project automatically"
2、 Click the shortcut key Alt+Ctrl+shift+a+/,( If it doesn't , Just click Alt+shift+a) choice Registry, Open the interface .
3、 Open the interface , Check compiler.automake.allow.when.app.running that will do , Without this option , Reset idea You can find it .
Here we are , The hot start failure has been resolved , You can restart it again idea.
Two : The Intranet environment solves the problem of hot start failure
1.pom Add spring-boot-devtools My bag ,optional You have to set true.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
2. Add the hot deployment configuration to the project configuration file
# Turn on hot deployment
spring.devtools.restart.enabled=true
# Restart directory
spring.devtools.restart.additional-paths=src/main/java
#classpath In the catalog templates Folder content modification does not restart
spring.devtools.restart.exclude=templates/** 3. modify spring-boot-maven-plugin plug-in unit
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
If it still does not take effect, modify it according to the operating steps of the Intranet environment idea Configuration of .
边栏推荐
- JS library for number formatting
- 手机炒股靠谱吗 网上开户炒股安全吗
- “message“:“Bad capabilities. Specify either app or appTopLevelWindow to create a session“
- 大咖讲 | 最前沿的昇思MindSpore开源社区运营的经验分享,快拿出小本本记录呀!
- 技术干货|什么是大模型?超大模型?Foundation Model?
- 【UVM实战 ===> Episode_3 】~ Assertion、Sequence、Property
- Hit the point! The largest model training collection!
- 05 | standard design (Part 2): how to standardize the different styles of commit information, which are difficult to read?
- Target tracking shooting? Target occlusion shooting? With 1.9 billion installed petal apps, what unique features attract users?
- Competition Registration | one of the key ai+ scientific computing competitions - China open source scientific software creativity competition, competing for 100000 bonus!
猜你喜欢

How to easily describe the process of machine learning?

深度学习方法求解平均场博弈论问题

1+1<2 ?! HESIC论文解读

敲重点!最全大模型训练合集!

com.fasterxml.jackson.databind.exc.MismatchedInputException: Expected array or string. at [Source:x

Kubernetes visual interface dashboard

redis详细教程

com.fasterxml.jackson.databind.exc.MismatchedInputException: Expected array or string. at [Source:x
![The [MySQL] time field is set to the current time by default](/img/40/5f1d3448259ab703c4b5dc29713a99.png)
The [MySQL] time field is set to the current time by default
![[vscode] setting sync, a plug-in for synchronizing extensions and settings](/img/e0/4889b59105e9815d11ae31988f58f2.jpg)
[vscode] setting sync, a plug-in for synchronizing extensions and settings
随机推荐
1+1<2 ?! Interpretation of hesic papers
【Mysql】时间字段默认设置为当前时间
串口调试工具 mobaxterm 下载
Special topic II on mathematical physics of the sprint strong foundation program
Is it reliable to speculate in stocks by mobile phone? Is it safe to open an account and speculate in stocks online
[vscode] setting sync, a plug-in for synchronizing extensions and settings
在线上买养老年金险正规安全吗?有没有保单?
com.fasterxml.jackson.databind.exc.MismatchedInputException: Expected array or string. at [Source:x
剑指 Offer 10- II. 青蛙跳台阶问题
kubeadm创建kubernetes集群
Intrusion trace cleaning
根据文件名批量生成文件夹
1+1<2 ?! HESIC论文解读
2022健康博览会,山东养生保健展会,产后健康、睡眠健康展
【UVM实战 ===> Episode_3 】~ Assertion、Sequence、Property
idea 热启动失效解决方案
温故知新--常温常新
手机能开户炒股吗 网上开户炒股安全吗
Memorizing byte order of big and small end
万字详解-MindArmour 小白教程!