Question: I have a simple Spring Boot application that gets messages from a JMS queue and saves some data to a log file, but does not need a web server. Is there any way of starting Spring Boot without the web server?

Answer: 
For Spring boot v2.1.3.RELEASE, just add the follow properties into application.propertes:

```
spring.main.web-application-type=none

```
You can use the spring-boot-starter dependency. This will not have the web stuff.

```
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter</artifactId>
</dependency>

```