I actaully had to edit the Run Configuration and change On frame deactivation
to Updated classes and resources
Reloading of primefaces files in tomcat with Intellij IDEA
-
08-07-2023 - |
Question
So I'm developing a Java application which has a Primefaces front-end. When I used Spring Tool Suite and started the project in tomcat I was able to edit the front-end xhtml files and they got reloaded on the webserver.
Now I've setup my Intellij IDEA to run my project in a tomcat, but I can't get my front-end files to be reloaded other than restarting the server.
Any advice on how to achieve this?
Solution
OTHER TIPS
You have to use "Package File" option (or Ctrl+Mayus+F9) when you have edited the xhtml or modified classes.
You can also use "Update" option (or Ctrl + F10) and select "Update resources" or "Update classes and resources".
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow