Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fixed : Similar guide links related to not found guide links
Spring Boot 3.3.4 Reference Doc. Changed the Not Found link provided in the Reference Doc to a link covering the Build Plugin. Reference Doc : https://docs.spring.io/spring-boot/how-to/deployment/traditional-deployment.html#howto.traditional-deployment.convert-existing-application Not Found Link : Getting Started Guide on Converting a jar to a war. ( https://spring.io/guides/gs/convert-jar-to-war/ )
  • Loading branch information
IMWoo94 authored Oct 15, 2024
commit b42b4eef4ccd35458c34d79ba41f0da43de75278
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ This means that, in addition to being deployable to a servlet container, you can

To convert an existing non-web Spring application to a Spring Boot application, replace the code that creates your `ApplicationContext` and replace it with calls to `SpringApplication` or `SpringApplicationBuilder`.
Spring MVC web applications are generally amenable to first creating a deployable war application and then migrating it later to an executable war or jar.
See the https://spring.io/guides/gs/convert-jar-to-war/[Getting Started Guide on Converting a jar to a war].
See the https://docs.spring.io/spring-boot/build-tool-plugin/index.html[build-tool-plugin].

To create a deployable war by extending `SpringBootServletInitializer` (for example, in a class called `Application`) and adding the Spring Boot `@SpringBootApplication` annotation, use code similar to that shown in the following example:

Expand Down