Skip to content

Commit

Permalink
Add note about exploded jars and banner properties
Browse files Browse the repository at this point in the history
Add a note to the "Customizing the Banner" explaining that you need
to be using the `JarLauncher` to use the `application.*` properties.

See gh-24982
  • Loading branch information
robert-smith-911 authored and philwebb committed Jan 29, 2021
1 parent 7265484 commit 33c0381
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -150,6 +150,9 @@ You can also use the configprop:spring.main.banner-mode[] property to determine

The printed banner is registered as a singleton bean under the following name: `springBootBanner`.

NOTE: If you are running with an unpacked jar (and not using the Spring Boot launcher), `application.*` properties are not available.
As a workaround, you can use JarLauncher to start the app (for example, `java -cp . org.springframework.boot.loader.JarLauncher`).



[[boot-features-customizing-spring-application]]
Expand Down

0 comments on commit 33c0381

Please sign in to comment.