S

Shyam Dubey • 3.70K Points
Extraordinary

Q. How can you configure a custom banner in Spring Boot?

  • (A) Add banner=true in properties
  • (B) Create banner.png in resources
  • (C) Create a banner.txt file in classpath
  • (D) Add it in application.yml under banner key
  • Correct Answer - Option(C)
  • Views: 9
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
Spring Boot automatically loads banner.txt from the classpath and displays it on startup.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.