The solution to Springboot static files not being updated, and Springboot to achieve hot deployment
The correct answer is to put the menu Project> Build Automatically. (I didn't know how to give this blindly before). Otherwise, no matter how to set the cache, devtools will be useless.