Punter Vicky
Punter Vicky

Reputation: 16982

Run spring boot app on Jboss Wildfly server

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?

Upvotes: 1

Views: 4647

Answers (1)

Francesco Marchioni
Francesco Marchioni

Reputation: 4328

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

Upvotes: 2

Related Questions