码迷,mamicode.com
首页 > 移动开发 > 详细

SpringBoot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

时间:2017-12-30 18:11:11      阅读:287      评论:0      收藏:0      [点我收藏+]

标签:star   let   解决   pre   bean   nbsp   miss   ring   tar   

SpringBoot

    Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

解决:

  添加springboot-web的注解

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

 

SpringBoot Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

标签:star   let   解决   pre   bean   nbsp   miss   ring   tar   

原文地址:https://www.cnblogs.com/cmyxn/p/8150401.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!