How to enable Tomcat auto restart in Eclipse?

I want to configure Tomcat in Eclipse Luna to automatically restart, it means the opposite of this or this

When developing a servlet, after changing my java code and then running it, Eclipse asked me to restart Tomcat or not. I hit no and checked remember my choice.

So, every time I run the servlet, Tomcat will NOT automatically restart.

Where can I enable this function (ie clear "remember my choice" and set it in the opposite way).

I have already tried against what is recommended in these two links, but without success. I tried both options: "Automatically reload modules by default" is checked and not checked.

UPDATE
I also tried uninstalling Tomcat several times and setting it all up again, but that didn't help either. Here are the available settings:

Tomcat settings in Eclipse Luna

+7
java eclipse tomcat servlets
source share
1 answer

What you want to do is update / change the startup settings (how and when the server or runtime starts).

To update startup settings:

Go to window-> Settings-> Server-> Launch

Make the highlighted option Always.

Source: Defining Startup Settings

enter image description here

+8
source share

All Articles