tomcat 运行之后 随便改个页面 然后tomcat就不停的在跑

时间:2022-01-23 15:55:44
tomcat 运行之后  已经可以打开web了
之后随便改个页面代码    然后tomcat就不停的在跑这是怎么回事

6 个解决方案

#1


不停的在跑???跑多远了

#2


啥意思?看下log文件。

#3


重新启动一下。

#4


一般是你改了后,tomcat自动部署修改的文件的。会后台刷一下log,但是,不会一直刷的

#5


tomcat里context的reloadable属性设置为true?
如果reloadable为true,你修改文件后tomcat会重新加载项目。

原文:Set to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is detected. 

参考: http://www.coderhelper.top/doc/tomcat-9.0-doc/config/context.html

#6


你修改了文件   IDE帮你重新部署了一下   tomcat 后台会刷新一下的   一会就好了   

#1


不停的在跑???跑多远了

#2


啥意思?看下log文件。

#3


重新启动一下。

#4


一般是你改了后,tomcat自动部署修改的文件的。会后台刷一下log,但是,不会一直刷的

#5


tomcat里context的reloadable属性设置为true?
如果reloadable为true,你修改文件后tomcat会重新加载项目。

原文:Set to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is detected. 

参考: http://www.coderhelper.top/doc/tomcat-9.0-doc/config/context.html

#6


你修改了文件   IDE帮你重新部署了一下   tomcat 后台会刷新一下的   一会就好了