tomcat热部署(不需要重启项目)

第一种方式:

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

 

posted @ 2020-03-03 18:03  灰太狼&红太狼  阅读(2722)  评论(0)    收藏  举报