您的位置:首页 > 移动开发 > WebAPP

Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

2016-09-12 12:06 585 查看
Spring Boot创建项目运行时若出现这个错误,解决办法是:

在程序运行入口类加入注解

@EnableAutoConfiguration

@SpringBootApplication
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  spring boot
相关文章推荐