Spring Boot Web Project Hot deployment solution under idea (four steps)

Source: Internet
Author: User

Recently in the spring to do a Web site, modified classes, HTML, JS and so on, refresh the page, does not take effect, do not have to make a manual or restart, greatly reducing the development efficiency.

What is a hot deployment? After the application starts, it will load the compiled class file into the virtual machine, under normal circumstances when the project modifies the source file, it needs to be completely recompiled and reloaded (need to restart the app). The hot deployment is to listen to changes in the class file, only the modified class reload, without the need to restart the application, making development easier.

so I found the article on the Internet, install the article settings, successful implementation hot deployment, you can see the effect immediately after modifying the Refresh page.

1, first, the idea set inside must tick

2, then shift+ctrl+alt+/, select Registry

3. After entering, find the option as shown, tick

4, restart the project so OK, and then change the contents of the class, idea will automatically go to make.

Spring Boot Web Project Hot deployment solution under idea (four steps)

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.