天天看点

Spring Boot(二)Customizing the Banner

在类路径上添加 banner.txt 默认UTF-8编码,可以通过banner.charset设置编码

或者通过设置属性指定文件位置:banner.location

也可以指定图片banner.gif,banner.jpg,banner.png

设置属性:banner.image.location

图片会转换成队形的ASCII值打印出来,在banner.txt中可以使用占位符