javaspringtomcatspring-initializr

Spring Initializr to create WAR for tomcat?


I would like to use the Spring Initializr to create WAR for tomcat...
Our DevOps are still not used to the idea of running java as a standalone and would like to have the application as a WAR in tomcat

I was able to produce a project but it seems like its producing a standalone spring boot application

I still want to use Spring Initializr to produce all the dependencies like :

One solution is to create a dynamic web project in eclipse and use Spring Initializr then just copy all the pom dependency into the dynamic web project is there a better way?


Solution

  • To build a deployable war file into an external container, you have to :