Intellij IDEA hot deployment processing method (illustration), intellijidea

Source: Internet
Author: User

Intellij IDEA hot deployment processing method (illustration), intellijidea

1. First, share your experience with IDEA on hot deployment:

Intellij IDEA four hot deployment methods

2. IDEA hot deployment practices:

Springboot project: do not introduce the hot Deployment Toolkit spring-boot-devtools

In Intellij IDEA, automatic compilation is disabled by default. You can enable automatic compilation according to the following two steps:

1. Enable Automatic Project compilation in IDEA, and go to settings, Build, Execut, Deployment-> Compiler to check Build Project automatically on the left.

2. IDEA enable automatic make when the project runs, ctrl + shift + a SEARCH Command: registry-> check compiler. automake. allow. when. app. running

3.

4. after automatic encoding is enabled, the spring boot project supports hot loading of changed java code/static files. if the java code is not automatically compiled, you can use manual compilation to solve this problem: ctrl + F9

Note: default settings

Summary

The preceding section describes how to handle Intellij IDEA hot deployment. I hope it will help you. If you have any questions, please leave a message and I will reply to you in a timely manner. Thank you very much for your support for the help House website!

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.