Custom Springboot Boot Banner

Source: Internet
Author: User

Order:

Springboot start when there will be a start logo-like things, this logo-like things called banner, this article subtotal modify this banner display and close banner. It's no use, it's interesting to play ...

Body: Custom banner:

Custom banner only need to create a new Banner.txt file under Resource, put the banner words we need, and when it starts, it reads the banner in this text file.

Here are a few words to generate the website address, interested people can try

Text to character:

http://patorjk.com/software/taag/#p =display&f=graffiti&t=type%20something%20

http://www.network-science.de/ascii/

http://www.degraeve.com/img2txt.php

There are pictures to the characters, I did not find, we can look for

Here I copied a character painting of my English name, create a new banner.txt, paste it, put it under the Resources folder,

Results:

Turn off banner display:

Each springboot has a Main method (as if every Java program is not started by the main method ...). ), you can turn off banner display by slightly modifying the demo

1     /**2 * Springboot Executive Portal3      */4      Public Static voidMain (string[] args) {5         //format: Springapplication.run (current class; class, parameters);6         //Springapplication.run (Hellospringboot.class, args);7Springapplication application =NewSpringapplication (Hellospringboot.class);8 Application.setbannermode (mode.off);9 Application.Run (args);Ten}

The effect is not demonstrated, first.

Custom Springboot Boot Banner

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.