IntelliJ and Tomcat…changed files are not automatically recognized by Tomcat

前端 未结 6 1491
攒了一身酷
攒了一身酷 2020-11-28 01:03

I am running Intellij Ultimate with Tomcat and deploy a war. Everything deploys fine to the webapp directory of tomcat.

When I change a file like an xhtml file, i

6条回答
  •  感情败类
    2020-11-28 01:42

    If you want to update classes and resources, run Tomcat in Debug mode. In this mode IntelliJ update classes and resources without a problem (hot swap).

    Got same problem. IntelliJ didn't update my project, because I run as "Run mode". When I run in debug mode and press Ctrl+F10, it updates classes and resources.

提交回复
热议问题