创建Banner

 org.springframework.boot.SpringApplicationBannerPrinter#print(org.springframework.core.env.Environment, java.lang.Class<?>, java.io.PrintStream)

先从environment取出Banner所在的位置, 如果environment中没有定义

spring.banner.location

,则使用默认的DEFAULT_BANNER: org.springframework.boot.SpringBootBanner

 

直接在classpath下创建一个banner.txt

 

posted @ 2018-11-20 21:27  funny_coding  阅读(197)  评论(0编辑  收藏  举报
build beautiful things, share happiness