Idea实现热部署需要以下几步
1.open module setting,设置path,使output path指向存放实时编译class的文件夹
2.设置Artifacts,选择exploded选项,勾选Build on make.并且查看webapp路径是否指向项目的webapp文件夹
3.编辑tomcat 6 启动选项,在Deployment选项卡中加载war exploded类型的artifact;在Server选项卡中设置On frame deactivation为 Update classes and resources