The restart code of the SpringBoot project in Idea does not take effect, and it is not recompiled

1. Problems

SpringBoot does not take effect after modifying the code or configuration file and restarting the project. You need to run mvn clean mvn install every time.

Two, the solution

Enter the folder to delete the .iml file, click Terminal in the idea, and enter mvn idea:module to generate the project name .iml file to solve the problem
 
 

Guess you like

Origin blog.csdn.net/china_coding/article/details/132675311