Stop Eclipse restarting my web app on file save

大城市里の小女人 提交于 2019-11-29 14:06:25

In the server View, double click on your Tomcat instance. This will open the properties of your Tomcat server. As I am not sure of which parameter will help you to solve your problem, check the following options in the latter view:

  • Automatic Publishing, option "Override default settings" selected, 1 second for the publishing interval.
  • In server options, uncheck options "Server modules without publishing" and "publish module contexts to separate XML files".
  • In the modules tab, for each modules deployed, check that Auto Reload is enabled.

Hope this will help you.

I have always used this and it works fine for me. The context is reloaded only when you change classes or the web descriptor.

In your project structure where you keep .xhtml files which makes eclipse reload the context on changing?

This can happen if you have a builder in Eclipse set to deploy on save. Right click on your project -> properties -> builders

jasonnerothin

Turn off "Build Automatically"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!