I implemented rest api with spring boot. It works when I started the application in Spring Tool Suite with the following url
http://localhost:8080/api/seqs/fdebfd6e-d046-4192-8b97-ac9f65dc2009.
However after I packaged it as war (without web.xml) called cgweb.war and deployed it in
tomcat, I got 404 error with the url
http://localhost:8080/cgweb/api/seqs/fdebfd6e-d046-4192-8b97-ac9f65dc2009.
I used 1.7 to compile the code and deployed it in tomcat 7. Why am I still getting 404?