Кажется, в вашем classpath нет встроенных веб-серверов.
Попробуйте добавить Tomcat через зависимость spring-boot-starter-web
.
Maven pom.xml
:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
Gradle build.gradle
:
implementation 'org.springframework.boot:spring-boot-starter-web'