1. First, refer to the sharing of experience of IDEA hot deployment peers:
Intellij IDEA 4 ways to configure hot deployment
2. IDEA hot deployment practice:
springboot project: Do not introduce hot deployment toolkit spring-boot-devtools
In Intellij IDEA, automatic compilation is turned off by default. You can enable automatic compilation by following the following 2 steps:
1. IDEA enables automatic project compilation, enter settings, Build, Execut, Deployment -> Compiler Check the Build Project automatically on the left
2. IDEA enables automatic make when the project runs, ctrl + shift + a search command: registry -> check compiler.automake.allow.when.app.running
3.
4. After turning on automatic encoding, under normal circumstances, the spring boot project has supported changing the java code/static files can be loaded hot. If the java code changes and does not compile automatically, you can use manual compilation to solve this problem: ctrl + F9
Note: Default settings configuration
Summarize
The above is the Intellij IDEA hot deployment method introduced to you by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to Wulin.com website!