How to run a Springboot server



I’m new to cloud9, i have a project in which I have to run a springboot server in a cloud9 workspace that my teacher shared with me, by creating a war file and executing it with tomcat.
The problem is that when I try to use the app (by using a simple get request in the browser) I get an error 404, even when the application folder is in the webapps folder (tomcat).
imagen I tried using the example project too and It doesn’t work.
Ps. I am typing the /gs-spring-boot-0.1.0/ to access the application.

Thank you