This has nothing to do with whether Maven is used to build it. This is a Tomcat setting problem, which is achieved through reloadable parameter settings. The specific settings are as follows:
【About reloadable】
If this attribute is set to true, the tomcat server will monitor changes in class files in the WEB-INF/classes and WEB-INF/lib directories while it is running. If it detects that a class file has been updated, the server will automatically restart Load the web application. Set the reloadable attribute to true during the development phase, which is helpful for debugging servlets and other class files. However, this will increase the server operating load. It is recommended to set reloadable to false during the deployment phase of the web application.
【Setting method】 Modify the tomcatconfcontext.xml file 1. Under Tomcat, find server.xml under the conf file and open it. 2. Add the following code between <Host> and </host>:
This has nothing to do with whether Maven is used to build it. This is a Tomcat setting problem, which is achieved through reloadable parameter settings. The specific settings are as follows:
【About reloadable】
【Setting method】
Modify the tomcatconfcontext.xml file
1. Under Tomcat, find server.xml under the conf file and open it.
2. Add the following code between <Host> and </host>:
project -- build automatically try