Programmers learn & share
0 votes
22 views

Problem :

Facing bellow Spring boot error
unable to start embeddedwebapplicationcontext due to missing embeddedservletcontainerfactory bean.
by (6.9k points)   | 22 views

1 Answer

0 votes

Solution :

I also faced the issue in the past.
I used bellow jar to get rid of the issue.

use bellow jar in your pom.xml :

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

or try this one  in your pom.xml :

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
by (36.1k points)  
2,187 questions
2,514 answers
59 comments
241 users