在resources文件夹新建banner.txt把图案复制进去
关闭banner也可以,找到启动类的main方法
public class Demo1Application {
public static void main(String[] args) {
//SpringApplication.run(Demo1Application.class, args);
SpringApplication application=new SpringApplication(Demo1Application.class);
application.setBannerMode(Banner.Mode.OFF).run(args);
}
}
Banner.Mode.OFF,启动时banner就消失了