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!