Idea热部署
一 打开tomcat配置

二 点击deployment查看Deploy at the server startup中tomcat每次所运行的包是xxxx:war还是其他,如果是xxxx:war包,请更换
点击旁边绿色加号,选择xxxx:war exploded ,然后将xxxx:war点击红色删除掉

三 然后在server中 将"On Update action"、"On frame deactivation"都选择updateclasses and resources

四 搞定,切记!!!!!一定要用Debug模式启动!

网友评论