I would like to build a Spring Boot application and run it on a JBOSS Wildfly server hosted in our infrastructure. It's a Spring MVC application , but I would like to use Spring Boot as it is easy to bootstrap the app. Is it sufficient if I follow the steps listed here?
Asked
Active
Viewed 3,120 times
1
-
This might help. https://spring.io/blog/2014/03/07/deploying-spring-boot-applications#what-about-the-java-ee-application-server – Emil Hotkowski Feb 26 '17 at 15:12
-
Thanks @Rjiuk. This helps. – Punter Vicky Feb 26 '17 at 15:28
1 Answers
2
The short, the two required steps are to extend the org.springframework.boot.web.servlet.support.SpringBootServletInitializer
in your Spring Boot application and exclude the embedded spring-boot-starter-tomcat
in the pom.xml
.
Here is an updated tutorial which works with WildFly 20 and Spring Boot 2.3.3: Spring Boot Hello World on WildFly

Mario Codes
- 689
- 8
- 15

Francesco Marchioni
- 4,091
- 1
- 25
- 40