Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mvn tomcat7:deploy not work if no restart tomcat

I'm trying to deploy a war on tomcat via maven (mvn clean install tomcat7:deploy). The deployment seems to work fine, but the application only works if I restart tomcat. It is normal? I think not.

like image 696
un0tec Avatar asked Dec 11 '25 15:12

un0tec


1 Answers

tomcat7:deploy only responsible to put the updated WAR file to Tomcat:

Deploy a WAR to Tomcat.

To use Tomcat hot deploy when war file changes, see answers

like image 91
user7294900 Avatar answered Dec 13 '25 05:12

user7294900



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!