One minute to complete: set up Tomcat hot deployment in IDEA

1. Click "Edit Configuration..."

Insert picture description here

2. Set "Update Classes and ressources"

Insert picture description here

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.
Insert picture description here

Guess you like

Origin blog.csdn.net/u010312671/article/details/106880870