第一步配置tomcat的deplotement里面要选择xxx.war exploded而不是xxx.war。如果是xxx.war的童鞋,请移除再加入xxx.war exploded。然后在tomcat的server里面on update action和on frame deactivation都选择update classes and resources就行了。