1.war exploded和war的区别
2.如何热部署
tomcat中部署的包应该是war exploded,而不是war包,否则不起作用,在Server中 将 "On Update action"、"On frame deactivation" 都选择 update classes and resources,点击 Apply -> OK ,每次改完代码编译完就不要重启tomcat了 。
1.war exploded和war的区别
2.如何热部署
tomcat中部署的包应该是war exploded,而不是war包,否则不起作用,在Server中 将 "On Update action"、"On frame deactivation" 都选择 update classes and resources,点击 Apply -> OK ,每次改完代码编译完就不要重启tomcat了 。