1

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?

Community
  • 1
  • 1
Punter Vicky
  • 15,954
  • 56
  • 188
  • 315

1 Answers1

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