title: ERROR The requested URL could not be retrieved after deploying in external tomcat server
body: <p>I am using Spring boot to create a REST API. The API is perfectly working when I am running the project. It works for all the endpoints that I have created. However, When I deploy the application in an external tomcat I am shown an error just like the following image
  <a href="https://i.stack.imgur.com/tfI6x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tfI6x.png" alt="enter image description here" /></a></p>
  <p>But The same endpoint was working before getting deployed into tomcat.</p>
  <p><a href="https://i.stack.imgur.com/Rmc0a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rmc0a.png" alt="enter image description here" /></a></p>
  <p>I am unable to figure out where the problem lies. I am using
  Java 8, Oracle 12C, tomcat 8.5 .
  Same Problem when I used Tomcat 10</p>