復(fù)制到webapps之后還需要重啟tomcat?
我經(jīng)常修改我的項(xiàng)目,那樣不就是每次都要重啟,就影響到別的項(xiàng)目的使用了,有什么辦法規(guī)避,讓tomcat不重啟的情況下,發(fā)布我的項(xiàng)目
歡迎選擇我的課程,讓我們一起見證您的進(jìn)步~~
Tomcat itself has automatic loading configuration, which can be used in the development environment. It is equivalent to pseudo-hot deployment and is actually restarting. Just configure it in context.xml
<Context reloadable="true"/>
You can also try the jrebel plug-in. The official website shows that it is paid https://zeroturnaround.com/software/jreb...
But it is said that there is a free community version, and I don’t use it much. You can search for more information by yourself
Change tomcat server.xml
HOST中的unpackWARs
,autoDeploy
to true