当前位置:网站首页>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 .
边栏推荐
- MindSpore新型轻量级神经网络GhostNet,在ImageNet分类、图像识别和目标检测等多个应用场景效果优异!
- 深度学习方法求解平均场博弈论问题
- 小白看MySQL--windows环境安装MySQL
- 其他服务注册与发现
- Lambda expression
- 滑环选型选购时需要注意的技巧
- com. fasterxml. jackson. databind. exc.MismatchedInputException: Expected array or string. at [Source:x
- 串口调试工具 mobaxterm 下载
- 技术干货|极速、极智、极简的昇思MindSpore Lite:助力华为Watch更加智能
- Kubeadm create kubernetes cluster
猜你喜欢
我的c语言进阶学习笔记 ----- 关键字
Sword finger offer 10- ii Frog jumping on steps
[vscade] preview MD file
Outside the code: writing is the best way to force growth
Deep learning method for solving mean field game theory problems
巧记大小端字节序
當Transformer遇見偏微分方程求解
高清滑环生产过程当中的质量如何把控
The [MySQL] time field is set to the current time by default
Common techniques of email attachment phishing
随机推荐
Competition Registration | one of the key ai+ scientific computing competitions - China open source scientific software creativity competition, competing for 100000 bonus!
我的c语言进阶学习笔记 ----- 关键字
xml学习笔记
Can I open an account for stock trading on my mobile phone? Is it safe to open an account for stock trading on the Internet
Lambda expression
全网最全的混合精度训练原理
Is it safe to open a compass account?
MATLAB data type - character type
这10款文案神器帮你速码,做自媒体还担心写不出文案吗?
Lambda表达式
“message“:“Bad capabilities. Specify either app or appTopLevelWindow to create a session“
Simple and fast digital network (network dolls in the network)
超硬核!华为智慧屏上的家庭相册竟可以自动精准分类?
Batch generate folders based on file names
Understanding of "the eigenvectors corresponding to different eigenvalues cannot be orthogonalized"
高清滑环生产过程当中的质量如何把控
Amway! How to provide high-quality issue? That's what Xueba wrote!
Lwip之定时机制
中信证券佣金 网上开户炒股安全吗
【UVM实战 ===> Episode_3 】~ Assertion、Sequence、Property