第一种方式:
tomcat/conf/server.xml下
<Context docBase="D:\apache-tomcat-9.0.16\hjh\apache-tomcat-9.0.16\hjh\hstartGen" path="/hstartGen" reloadable="true" source="org.eclipse.jst.jee.server:hstartGen"/>
修改 reloadable="false"
第二种方式:
1、双击tomcat
2、点击modules视图,点击edit
3、打钩 auto reloading enabled