I can run the application normally through the main class with 'tomcat embedded' as a dependency. However when trying to run the application on some server the IDE itself Eclipse informs that the application can not be run on a server. I recognize the ease of using Spring Boot for development and testing, but would like to upload the application to an existing server next to other applications that would already be running on this server, without the need for another machine. Considering this scenario, Which dependencies should I add or remove on maven? Should I remove the main class of the application (which has the method 'main' and 'SpringApplication.run')? What settings (in Java) should be added, only those that are essential for the web project.