eclipse 如何在Eclipse中关闭Tomcat的自动重启?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16682918/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to turn off automatic restart of Tomcat in Eclipse?
提问by Yishu Fang
When developing Servlet, after changing a bit of my java code, and click run. Eclipse ask me to whether to restart the service or not. I click 'yes' and tick 'remember my choice'.
在开发Servlet的时候,把我的java代码改了一下,点击run。Eclipse 询问我是否重新启动服务。我点击“是”并勾选“记住我的选择”。
So every time, when I click 'run', the Tomcat will automatically restart.
所以每次当我点击“运行”时,Tomcat 都会自动重启。
Where can I turn off that feature (in others words, I am regret about ticking the 'remember my choice').
我在哪里可以关闭该功能(换句话说,我很遗憾勾选“记住我的选择”)。
回答by Tommy
Eclipse - "Window" menu - Show View - Other - choose "servers" and ok button.
Eclipse - “窗口”菜单 - 显示视图 - 其他 - 选择“服务器”和确定按钮。
double click the server that you want to change settings in server view.
在服务器视图中双击要更改设置的服务器。
then server setting page will be opened.
然后将打开服务器设置页面。
you will see "Modules auto reload by default" option in Server options on the left bottom.
您将在左下角的服务器选项中看到“默认情况下模块自动重新加载”选项。