Springboot-03:springboot+idea Hot Deployment

Source: Internet
Author: User

------------I do not have him, but the hand is ripe, humble and foolish, and eager to be hungry-------------

The so-called hot deployment , that is, in the project startup, modify the class in the modification of the operation, no need to restart the project, you can change, in the Web page display has a direct changefirst idea requires three steps:

Thermal deployment is special for idea, the configuration ofjar package +properties/yml is not enough , also need to change the idea of the settings

One, the jar package depends on :

        <!--Hot Deployment -        <Dependency>            <groupId>Org.springframework.boot</groupId>            <Artifactid>Spring-boot-devtools</Artifactid>        </Dependency>

Version number, scope none of them need a tube.

Two, setting Configuration 1:

Three, Idea set 2:

First shift+ctrl+a shortcut key , enter Registry

After entering, put the displayed hooks on the

After you restart the project , you can implement a hot deployment If the above operation is wrong, or in doubt, can contact me, to help friends is my pleasure

Springboot-03:springboot+idea Hot Deployment

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.