How to troubleshoot the hot deployment of Spring boot configuration in ideaJanuary 31, 2018 20:30:59Hits: 1426
This configuration is implemented by configuring Devtools for Hot deployment
Just add the following code snippet to the Pom file
<!--hot Deployment--<Dependency><Groupid>org.springframework.boot</Groupid><Artifactid>spring-boot-devtools</Artifactid><Optional>true</Optional><Scope>true</Scope></Dependency>----------------------------------------------------<Build><Plugins><Plugin><Groupid>org.springframework.boot</Groupid><artifactid>spring-boot-maven-plugin</ artifactid> <configuration> Span class= "hljs-comment" ><!--without this configuration, Devtools does not take effect--< Fork>true</fork> <addresources>true</addResources> </configuration> </ plugin> </plugins> </BUILD>
But the configuration is not valid, the following need to modify the idea of the two configuration
- setting–> compiler
Tick the Build project automatically
- ALT + SHIFT + A search registry Select the first, pop-up box and drop-down to find the compiler.automake.allow.when.app.running tick.
An invalid thermal deployment issue has been resolved.
The idea of Spring boot configuration in the hot deployment Invalid problem resolution method (GO)