The idea of Spring boot configuration in the hot deployment Invalid problem resolution method (GO)

Source: Internet
Author: User

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

    1. setting–> compiler
      Tick the Build project automatically
    2. 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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.