当前位置:网站首页>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 .
边栏推荐
- 手机能开户炒股吗 网上开户炒股安全吗
- find_ Detailed use guide of CIRC
- 大健康行业年度必参盛会,2022山东国际大健康产业博览会
- Analysis on the advantages and disadvantages of the best 12 project management systems at home and abroad
- 我的c语言进阶学习笔记 ----- 关键字
- CPU的异常处理
- Introduction to message queuing
- XML learning notes
- 在线上买养老年金险正规安全吗?有没有保单?
- Can't write to avoid killing and can easily go online CS through defender
猜你喜欢

全网最全的混合精度训练原理

How to easily describe the process of machine learning?

大咖讲 | 最前沿的昇思MindSpore开源社区运营的经验分享,快拿出小本本记录呀!

Lambda表达式

安利!如何提优质的ISSUE?学霸是这样写的!

Moher College -x-forwarded-for injection vulnerability practice

基于SSMP的宠物医院管理系统

Understanding of "the eigenvectors corresponding to different eigenvalues cannot be orthogonalized"

Big guys talk about the experience sharing of the operation of the cutting-edge mindspore open source community. Come up with a small notebook!

温故知新--常温常新
随机推荐
How to write test cases and a brief introduction to go unit test tool testify
Com. Faster XML. Jackson. DataBind. Exc.mismatchedinputexception: tableau ou chaîne attendu. At [Source: X
當Transformer遇見偏微分方程求解
Freescale 单片机概述
寻找旋转排序数组中的最小值 II[经典抽象二分 + 如何破局左中右三者相等]
Interface test framework practice (I) | requests and interface request construction
An article takes you to learn container escape
BootstrapBlazor + FreeSql实战 Chart 图表使用(2)
手机上可以开户炒股吗 网上开户炒股安全吗
No clue about complex data?
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
Memorizing byte order of big and small end
【UVM实战 ===> Episode_3 】~ Assertion、Sequence、Property
直播回顾 | 子芽&CCF TF:云原生场景下软件供应链风险治理技术浅谈
论文解读(LG2AR)《Learning Graph Augmentations to Learn Graph Representations》
Lambda表达式
Sword finger offer 10- ii Frog jumping on steps
From bitmap to bloom filter, C # implementation
Pet hospital management system based on SSMP
com. fasterxml. jackson. databind. exc.MismatchedInputException: Expected array or string. at [Source:x