1.打开 Tomcat Run/Debug configuration

2.打开Deployment标签 

3.在“Deploy at Server Startup” 中,移出现有的.war 包

4.点击添加 添加:war exploded的包

5.点击Apply 保存

6.打开 Server 页签

7.在页签的中间部位 将字段 On frame Deactivation 设置为  "Update resources" 

8.点击保存

设置完毕,更新静态文件只需在 Refresh按钮中选择Update resources 更新资源文件即可。

若仍不清楚,则可通过看下边的gif消息了解

Intellij 设置只更新静态文件(js、view、css)的方法

相关文章:

  • 2021-12-15
  • 2022-12-23
  • 2021-10-22
  • 2021-09-30
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-29
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案