PS:banner 设计网址:http://www.network-science.de/ascii/
一、创建一个 spring boot 工程,并选择 web 模块的starter
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
二、在 resources 路径下,创建 banner.txt 文件,内容如下
_ _ _ _
| | (_) (_|_)
__| |_ _ ___ _ _ _ __ _ _ _ ___ _ _
/ _` | | | |/ _ \ | | | | | / _` | | | |/ _ \ | | |
| (_| | |_| | (_) | | |_| | | | (_| | |_| | (_) | | | |
\__,_|\__,_|\___/ \__, |_| \__, |\__,_|\___/ | |_|
__/ | __/ | _/ |
|___/ |___/ |__/
三、启动 springboot 项目,运行结果如下: