IntelliJ IDEA14 + tomcat 設置熱部署,廢話很少說,直接看圖,每步寫的很清楚,不明白的留言.tomcat
1.點擊idea中tomcat設置eclipse
2.點擊deployment查看Deploy at the server startup 中tomcat每次所運行的包是 xxxx:war 仍是其餘,若是是xxxx:war包,請更換ide
3.點擊旁邊綠色加號,選擇 xxxx:war exploded ,而後將 xxxx:war 點擊紅色刪除掉 測試
4.而後在server中 將 "On Update action"、"On frame deactivation" 都選擇 update classes and resourcesidea
5.大功告成,以親測,不用由於每次修改代碼而重啓了!更進一步摒棄eclipse!(屢次修改代碼測試後,記得重啓一次項目,以防不夠準去!)server
6.切記!!!!!必定要用Debug 模式啓動!ip