記錄一下如何設置熱部署,不需要重啓就能更新jsp頁面
1.點擊idea中tomcat設置,點擊deployment查看Deploy at the server startup,選擇 xxxx:war exploded ,然後將 xxxx:war 點擊紅色刪除掉
2、在server中 將 “On Update action”、”On frame deactivation” 都選擇 update classes and resources,點擊apply,最後重啓tomcat就可以實現熱部署了。