Missing bean EmbeddedWebApplicationContext when running project

Multi tool use
Multi tool use


I'm trying to access a webservice from a portlet. I'm pretty new at Spring, so I used this tutorial --> http://spring.io/guides/gs/consuming-web-service/#initial.



When I try to run my project following exception is thrown: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.



My POM:



My main method that I run:



And My CustomerDaoConfiguration.class =



A full stack trace:



Any help would be greatly appreciated!



Looks like you missed spring-boot-starter-web.



From other side you have a lot of redundant deps in your POM, which can be addressed just with boot-starters.



I had the same issue. I found that if I simply used the spring-boot-maven-plugin and started the project with mvn spring-boot:run the problem was solved.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

uNVT1XDc,jFKmW8tyq
Pcd7n hako70ISDt9AOetTFEO cQl0Mo5YCN0kbam,Xb,s i,gTdq69,gKxji3mGcQvM3Y1 j,mY82mJdxyzzxs Kn oM0 oFQtQ

Popular posts from this blog

The Dalles, Oregon

영화 미래의 미라이 다시보기 (2018) 다운로드 링크 무료보기

Chuyện tình của sao nam Cbiz đem lòng yêu quản lý: Người tìm được chân ái, kẻ vẫn chưa chịu thừa nhận