Код: Выделить всё
@SpringBootApplication
public class SpringwebdemoApplication {
public static void main(String[] args) {
SpringApplication app = new SpringApplication(SpringwebdemoApplication.class);
app.setBannerMode(Banner.Mode.OFF);
app.run(args);
}}
[img]https://i.sstatic.net /nSXFB7sP.png[/img]
Я попробовал в application.properteis это свойство Spring.main.banner-mode=off, но баннер все равно печатался
Подробнее здесь: https://stackoverflow.com/questions/792 ... r-in-3-4-0
Мобильная версия