Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean. site:stackoverflow.com code example
Example: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}