• Remove the SpringBoot startup class icon (Spring) and add the following code to the startup class
package com.xdr.spring; import org.springframework.boot.Banner.Mode; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; / @springBootApplication // Indicates the boot class of springboot. Public class Application {public static void Main (String[] args) {// TODO auto-generated method Stub system.out.println (" Start springboot"); //SpringApplication.run(Application.class, args); SpringApplication application = new SpringApplication(Application.class); application.setBannerMode(Mode.OFF); // Start boot mode close application.run(args); }}Copy the code



Do not suggest take out commonly, more troublesome