문제

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?

도움이 되었습니까?

해결책

I actaully had to edit the Run Configuration and change On frame deactivation to Updated classes and resources

다른 팁

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".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top