Spring boot disable tomcat

joel
1 min readApr 12, 2020
  1. In application.properties.

spring.main.web-application-type=none

2. In main function.

SpringApplication application = new SpringApplication(JfxQuotesServerApplication.class);

application.setWebApplicationType(WebApplicationType.NONE);

application.run(args);

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response