1

I'm trying to deploy my webapplication (made with Spring MVC) on the server of a provider (Tomcat 7). I was trying to upload my ROOT.WAR, by using Tomcat manager page (without specifing a context), to the server, but I get this error:

FAIL - War file "ROOT.war" cannot be uploaded if context is defined in server.xml 

How can I solve this problem? I read something on the internet but the solution is not clear to me.

Thank you in advance

MDP
  • 4,177
  • 21
  • 63
  • 119
  • 1
    I hope the following link will help you solve this problem. [http://stackoverflow.com/questions/5328518/deploying-my-application-at-the-root-in-tomcat](http://stackoverflow.com/questions/5328518/deploying-my-application-at-the-root-in-tomcat) – Aamir Latif Nov 04 '16 at 11:07
  • @aamirlatif link will help you – Afsun Khammadli Nov 04 '16 at 11:31
  • 1
    Simple: follow the directions implied by the error message and don't define your `ROOT` context in your `server.xml` file. – Christopher Schultz Nov 05 '16 at 17:47

0 Answers0