修改Run/Debug Configurations
On ‘Update’ Action:update class and resources
On frame deactivation:update class and resources
可能有些人在这里没有update class and resources这个选项,不用急,先转到Deployment页
将xxx:war部署模式改为xxx:war exploded模式
xxx:war exploded 展开部署,先将资源文件展开,再部署
xxx:war 发布模式,先打成war包,再部署
再返回前页就可以选择update class and resources了。
如果此方法行不通,可能是浏览器的浏览痕迹问题,只要把浏览器中浏览历史的浏览痕迹清除,在重启项目即可。