step to deploy spring boot to external tomcat:
deployment target must be in war extention (*.war)
-
change the jar to war in pom.xml on line jar
-
add dependency tomcat has been provided to ignore embed tomcat from spring-boot org.springframework.boot spring-boot-starter-tomcat provided
-
add class ServletInitializer that extends SpringBootServletInitializer as in same package with main SpringApplication
source: http://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html