springboot启动横幅

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringInitializrApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(SpringInitializrApplication.class);
        app.setBannerMode(Banner.Mode.OFF); // 可以关闭springboot启动横幅
        app.run(args);
    }

}

你可能感兴趣的:(springboot启动横幅)