I want to deploy my application using the embedded tomcat in spring -boot. I figured that I have to run the java -jar spring-boot-app.jar command, but I cannot find the jar file for the application anywhere.
On running mvn clean package I am able to generate a war file to deploy externally, how can I do the same with embedded tomcat ?
You need to remove following line from pom.xml
or replace
warpackaging withjar. Make sure you havespring-boot-maven-pluginin maven build pluginsThe jar should then be available in
targetfolder