1. Click "Edit Configuration..."
2. Set "Update Classes and ressources"
3. Start Tomcat in Debug mode
4. After modifying the code or jsp, as shown below:
After modifying the class file or jsp file, after a while, you will see the prompt below, indicating that the tomcat has been reloaded. At this point, the hot deployment is successful.