zoukankan      html  css  js  c++  java
  • IntelliJ IDEA 2017版 spring-boot 2.03 去除控制台logo;去除springboot 图标;去除springboot 图

    1、控制台出现logo图标

    2、如果不喜欢,如何去除这个logo

    在其Application中进行设置

     1 package com.springboot.logo;
     2 
     3 import org.springframework.boot.Banner;
     4 import org.springframework.boot.SpringApplication;
     5 import org.springframework.boot.autoconfigure.SpringBootApplication;
     6 
     7 @SpringBootApplication
     8 public class Application {
     9 
    10     public static void main(String[] args) {
    11 //        SpringApplication.run(Application.class, args);
    12 
    13         SpringApplication springApplication = new SpringApplication(Application.class);
    14         springApplication.setBannerMode(Banner.Mode.OFF);
    15         springApplication.run(args);
    16 
    17 
    18     }
    19 }
    View Code

    打印效果:

     3、源码地址

    https://github.com/liushaoye/10-close-logo/tree/master

  • 相关阅读:
    ES6-Object
    ES6-Iterator
    ES6-Generator
    ES6-fetch
    ES6-Function
    ES6-Array
    ES6-Class
    SQLite使用事务更新—by command
    交款功能代码
    SQLite本地事务处理
  • 原文地址:https://www.cnblogs.com/liuyangfirst/p/9376174.html
Copyright © 2011-2022 走看看