【问题标题】:Run spring boot app on Jboss Wildfly server在 Jboss Wildfly 服务器上运行 spring boot 应用程序
【发布时间】:2017-07-17 03:30:09
【问题描述】:

我想构建一个 Spring Boot 应用程序并在我们的基础架构中托管的 JBOSS Wildfly 服务器上运行它。这是一个 Spring MVC 应用程序,但我想使用 Spring Boot,因为它很容易引导应用程序。如果我按照here 列出的步骤就足够了吗?

【问题讨论】:

标签: java spring spring-boot wildfly


【解决方案1】:

简而言之,两个必需的步骤是在您的 Spring Boot 应用程序中扩展 org.springframework.boot.web.servlet.support.SpringBootServletInitializer,并在 pom.xml 中排除嵌入的 spring-boot-starter-tomcat

这是一个适用于 WildFly 20 和 Spring Boot 2.3.3 的更新教程: Spring Boot Hello World on WildFly

【讨论】:

    猜你喜欢
    • 2019-08-06
    • 2021-08-20
    • 1970-01-01
    • 2023-01-25
    • 2017-07-16
    • 1970-01-01
    • 2019-03-05
    • 2017-12-15
    • 2020-07-10
    相关资源
    最近更新 更多