IntelliJ IDEA2017 + tomcat 即改即生效 實現熱部署

1.點擊idea中tomcat設置tomcat

   企業微信截圖_20170123141216        

2.點擊deployment查看Deploy at the server startup 中tomcat每次所運行的包是 xxxx:war 仍是其餘,若是是xxxx:war包,請更換.點擊旁邊綠色加號,選擇 xxxx:war exploded ,而後將 xxxx:war 點擊紅色刪除掉微信

3.而後在server中 將 "On Update action"、"On frame deactivation" 都選擇 update classes and resourceside

4.大功告成,已親測,不用由於每次修改代碼而重啓了!idea

相關文章
相關標籤/搜索