Skip to content

Spring Boot Package as War Tutorial in Gradle has insufficient information #2086

@erkinun

Description

@erkinun

Hi,

The docs at this page: http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#build-tool-plugins-gradle-packaging

and tutorial at this page: http://spring.io/guides/gs/convert-jar-to-war/

talks about how to repackage the boot application to a war file. But in order to run the application in a servlet container, you need to have a subclass implementation of SpringBootServletInitializer class.

This is explained in the tutorial: http://spring.io/guides/gs/convert-jar-to-war-maven/

So, please also update the Gradle tutorial appropriately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions