• Register
0 votes
310 views

Problem :

I have written a spring batch application using the Spring boot and when I tried to run it on linux server facing following exception
unable to start servletwebserverapplicationcontext due to missing servletwebserverfactory bean
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had also encountered the similar issue in the past.
I found below solution on it.
I explicitly tried to set the below property 
to none in the application.yml file as follows
spring:
  main:
    web-application-type: none
It solved my problem.
9 7 4
38,600 points

Related questions

0 votes
1 answer 20 views
20 views
Problem: unable to start servletwebserverapplicationcontext due to missing servletwebserverfactory bean.
asked Feb 23 Muneeb Saadii 127k points
0 votes
2 answers 101 views
101 views
Problem : Facing bellow Spring boot error unable to start embeddedwebapplicationcontext due to missing embeddedservletcontainerfactory bean.
asked Nov 8, 2019 peterlaw 6.9k points
0 votes
1 answer 9 views
9 views
Problem: due to missing embeddedservletcontainerfactory bean.Unable to start embeddedwebapplicationcontext
asked Feb 23 Muneeb Saadii 127k points
0 votes
1 answer 74 views
74 views
Problem: I have already seen many questions asked around the error which I am facing. But available solutions are not working for me. It may be the case that I am yet to thoroughly understand a auto wiring concept. I am able to navigate to the required page, ... least 1 bean which qualifies as autowire candidate. Now I am completely confused. Hope someone can try to help me out with this error.
asked Aug 8, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 23 views
23 views
Problem: org.apache.catalina.lifecycleexception: failed to start component [connector[http/1.1-8080]]
asked Feb 18 Lucky Guy 1.5k points
0 votes
1 answer 1.2K views
1.2K views
Problem : Currently I am trying to develop the REST API using the Spring Framework I am unable to run my application because of below error. Description: The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may ... this application to listen on another port. My 8080 port on my PC is seems to be busy. How can I fix this issue?
asked Feb 28, 2020 mphil 2.3k points
0 votes
1 answer 1 view
1 view
Problem: I have simple angular2-cli app. With "ng serve" all works fine. I made production version with ng build --product. I copied all ./dist folder content into new folder under C:\inetpub\wwwroot. I made virtual app from IIS managment console. Defualt app file ... --product switch but result is the same. Angular app is not loading. Is there anything else needed to publish angular app on IIS?
asked 8 hours ago Yeamin 780 points
0 votes
1 answer 3 views
3 views
Problem: Is there any way to read properties file in spring boot ?
asked 2 days ago zayed1 30.9k points
0 votes
1 answer 2 views
2 views
Problem: Please help me: how to deploy spring boot application in aws
asked 4 days ago tuhin1 48.4k points
0 votes
1 answer 3 views
3 views
Problem: Does anyone know how how to read external properties file in spring boot??
asked Mar 30 zayed1 30.9k points