@SpringBootApplication
public class SpringwebdemoApplication {
public static void main(String[] args) {
SpringApplication app = new SpringApplication(SpringwebdemoApplication.class);
app.setBannerMode(Banner.Mode.OFF);
app.run(args);
}}
(or)
spring.main.banner-mode=off
Comment From: snicoll
Both work for me so you'll have to share a small sample that reproduces what you've described.
Comment From: mdeinum
Stackoverflow thread for the same: https://stackoverflow.com/questions/79287083/unable-to-disable-springboot-banner-in-3-4-0
Comment From: bclozel
Thanks for the link Marten, let's close this issue in favor of the StackOverflow question and we can reopen it if it turns out there's a bug.